Provides read/write context class with the ability to handle std::chrono::time_point
conversion.
Definition in file time_point_conv.hpp.
Go to the source code of this file.
#include <userver/proto-structs/io/std/chrono/time_point.hpp>
#include <userver/proto-structs/io/fwd.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 | |
std::chrono::time_point< std::chrono::system_clock > | proto_structs::io::ReadProtoStruct (ReadContext &ctx, To< std::chrono::time_point< std::chrono::system_clock > >, const ::google::protobuf::Timestamp &msg) |
void | proto_structs::io::WriteProtoStruct (WriteContext &, const std::chrono::time_point< std::chrono::system_clock > &obj, ::google::protobuf::Timestamp &msg) |