userver: fmt::formatter< T, typename std::enable_if_t< std::is_base_of_v< google::protobuf::Message, std::decay_t< T > >, char > > Struct Template Reference
Loading...
Searching...
No Matches
fmt::formatter< T, typename std::enable_if_t< std::is_base_of_v< google::protobuf::Message, std::decay_t< T > >, char > > Struct Template Reference

#include <userver/ugrpc/protobuf_logging.hpp>

Detailed Description

template<typename T>
struct fmt::formatter< T, typename std::enable_if_t< std::is_base_of_v< google::protobuf::Message, std::decay_t< T > >, char > >

fmt::format support for protobuf messages

Definition at line 81 of file protobuf_logging.hpp.

Public Member Functions

constexpr auto parse (format_parse_context &ctx)
 
template<typename FormatContext>
auto format (const T &message, FormatContext &ctx) const
 

Member Function Documentation

◆ format()

template<typename T>
template<typename FormatContext>
auto fmt::formatter< T, typename std::enable_if_t< std::is_base_of_v< google::protobuf::Message, std::decay_t< T > >, char > >::format ( const T & message,
FormatContext & ctx ) const
inline

Definition at line 85 of file protobuf_logging.hpp.

◆ parse()

template<typename T>
auto fmt::formatter< T, typename std::enable_if_t< std::is_base_of_v< google::protobuf::Message, std::decay_t< T > >, char > >::parse ( format_parse_context & ctx)
inlineconstexpr

Definition at line 82 of file protobuf_logging.hpp.


The documentation for this struct was generated from the following file: