Provides read/write context class with the ability to handle userver::utils::datetime::TimeOfDay
conversion.
Definition in file time_of_day_conv.hpp.
Go to the source code of this file.
#include <userver/proto-structs/io/userver/utils/datetime/time_of_day.hpp>
#include <userver/proto-structs/io/std/chrono/hh_mm_ss_conv.hpp>
Namespaces | |
namespace | proto_structs |
Top namespace for the proto-structs library. | |
namespace | proto_structs::io |
Namespace for conversion utlities and predefined proto-structs conversion hooks for well-known std/userver types. | |
Functions | |
template<typename TDuration> | |
utils::datetime::TimeOfDay< TDuration > | proto_structs::io::ReadProtoStruct (ReadContext &ctx, To< utils::datetime::TimeOfDay< TDuration > >, const ::google::type::TimeOfDay &msg) |
template<typename TDuration> | |
void | proto_structs::io::WriteProtoStruct (WriteContext &ctx, const utils::datetime::TimeOfDay< TDuration > &obj, ::google::type::TimeOfDay &msg) |