Struct comm::client::messages::protobufs::Envelope
[−]
[src]
pub struct Envelope { /* fields omitted */ }
Methods
impl Envelope
[src]
pub fn new() -> Envelope
[src]
pub fn default_instance() -> &'static Envelope
[src]
pub fn clear_message_type(&mut self)
[src]
pub fn has_message_type(&self) -> bool
[src]
pub fn set_message_type(&mut self, v: Envelope_Type)
[src]
pub fn get_message_type(&self) -> Envelope_Type
[src]
pub fn clear_recipient(&mut self)
[src]
pub fn has_recipient(&self) -> bool
[src]
pub fn set_recipient(&mut self, v: String)
[src]
pub fn mut_recipient(&mut self) -> &mut String
[src]
pub fn take_recipient(&mut self) -> String
[src]
pub fn get_recipient(&self) -> &str
[src]
pub fn clear_text_message(&mut self)
[src]
pub fn has_text_message(&self) -> bool
[src]
pub fn set_text_message(&mut self, v: TextMessage)
[src]
pub fn mut_text_message(&mut self) -> &mut TextMessage
[src]
pub fn take_text_message(&mut self) -> TextMessage
[src]
pub fn get_text_message(&self) -> &TextMessage
[src]
pub fn clear_message_acknowledgement(&mut self)
[src]
pub fn has_message_acknowledgement(&self) -> bool
[src]
pub fn set_message_acknowledgement(&mut self, v: MessageAcknowledgement)
[src]
pub fn mut_message_acknowledgement(&mut self) -> &mut MessageAcknowledgement
[src]
pub fn take_message_acknowledgement(&mut self) -> MessageAcknowledgement
[src]
pub fn get_message_acknowledgement(&self) -> &MessageAcknowledgement
[src]
Trait Implementations
impl Clone for Envelope
[src]
fn clone(&self) -> Envelope
[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 Envelope
[src]
impl Sync for Envelope
[src]
impl Message for Envelope
[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 type_id(&self) -> TypeId
[src]
fn as_any(&self) -> &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>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn as_any_mut(&mut self) -> &mut (Any + 'static)
[src]
fn into_any(self: Box<Self>) -> Box<Any + 'static>
[src]
impl MessageStatic for Envelope
[src]
fn new() -> Envelope
[src]
fn descriptor_static(_: Option<Envelope>) -> &'static MessageDescriptor
[src]
impl Clear for Envelope
[src]
impl PartialEq for Envelope
[src]
fn eq(&self, other: &Envelope) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.