Struct copra::message::RpcMeta
[−]
[src]
pub struct RpcMeta { pub request: SingularPtrField<RpcRequestMeta>, pub response: SingularPtrField<RpcResponseMeta>, pub correlation_id: u64, // some fields omitted }
Fields
request: SingularPtrField<RpcRequestMeta>
response: SingularPtrField<RpcResponseMeta>
correlation_id: u64
Methods
impl RpcMeta
[src]
fn new() -> RpcMeta
[src]
fn default_instance() -> &'static RpcMeta
[src]
fn clear_request(&mut self)
[src]
fn has_request(&self) -> bool
[src]
fn set_request(&mut self, v: RpcRequestMeta)
[src]
fn mut_request(&mut self) -> &mut RpcRequestMeta
[src]
fn take_request(&mut self) -> RpcRequestMeta
[src]
fn get_request(&self) -> &RpcRequestMeta
[src]
fn clear_response(&mut self)
[src]
fn has_response(&self) -> bool
[src]
fn set_response(&mut self, v: RpcResponseMeta)
[src]
fn mut_response(&mut self) -> &mut RpcResponseMeta
[src]
fn take_response(&mut self) -> RpcResponseMeta
[src]
fn get_response(&self) -> &RpcResponseMeta
[src]
fn clear_correlation_id(&mut self)
[src]
fn set_correlation_id(&mut self, v: u64)
[src]
fn get_correlation_id(&self) -> u64
[src]
Trait Implementations
impl PartialEq for RpcMeta
[src]
fn eq(&self, __arg_0: &RpcMeta) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RpcMeta) -> bool
[src]
This method tests for !=
.
impl Clone for RpcMeta
[src]
fn clone(&self) -> RpcMeta
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for RpcMeta
[src]
impl Sync for RpcMeta
[src]
impl Message for RpcMeta
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &Any
[src]
fn as_any_mut(&mut self) -> &mut Any
[src]
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut Write
) -> Result<(), ProtobufError>