Struct exocore_protos::generated::exocore_test::TestMessage [−][src]
pub struct TestMessage {}Show fields
pub string1: String, pub string2: String, pub string3: String, pub struct1: Option<TestStruct>, pub date1: Option<Timestamp>, pub date2: Option<Timestamp>, pub date3: Option<Timestamp>, pub uint1: u32, pub uint2: u32, pub uint3: u32, pub int1: i32, pub int2: i32, pub int3: i32, pub ref1: Option<Reference>, pub ref2: Option<Reference>, pub grouped1: String, pub grouped2: String, pub fields: Option<Fields>,
Fields
string1: String
string2: String
string3: String
struct1: Option<TestStruct>
date1: Option<Timestamp>
date2: Option<Timestamp>
date3: Option<Timestamp>
uint1: u32
uint2: u32
uint3: u32
int1: i32
int2: i32
int3: i32
ref1: Option<Reference>
ref2: Option<Reference>
grouped1: String
grouped2: String
fields: Option<Fields>
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message with a length-delimiter to a buffer. Read more
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TestMessage
impl Send for TestMessage
impl Sync for TestMessage
impl Unpin for TestMessage
impl UnwindSafe for TestMessage
Blanket Implementations
Mutably borrows from an owned value. Read more