[−][src]Trait solana_libra_proto_conv::IntoProto
Convert Rust struct to Protobuf.
Associated Types
type ProtoType
The corresponding Protobuf type.
Required methods
fn into_proto(self) -> Self::ProtoType
Converts a Rust struct to corresponding Protobuf struct. This should not fail.
Implementations on Foreign Types
impl IntoProto for u32
[src]
type ProtoType = u32
fn into_proto(self) -> Self::ProtoType
[src]
impl IntoProto for u64
[src]
type ProtoType = u64
fn into_proto(self) -> Self::ProtoType
[src]
impl IntoProto for i32
[src]
type ProtoType = i32
fn into_proto(self) -> Self::ProtoType
[src]
impl IntoProto for i64
[src]
type ProtoType = i64
fn into_proto(self) -> Self::ProtoType
[src]
impl IntoProto for bool
[src]
type ProtoType = bool
fn into_proto(self) -> Self::ProtoType
[src]
impl IntoProto for String
[src]
type ProtoType = String
fn into_proto(self) -> Self::ProtoType
[src]
impl IntoProto for Vec<u8>
[src]
impl<P, T> IntoProto for Vec<T> where
P: Message,
T: IntoProto<ProtoType = P>,
[src]
P: Message,
T: IntoProto<ProtoType = P>,