[−][src]Struct mumble_protocol::control::msgs::TextMessage
Fields
unknown_fields: UnknownFieldscached_size: CachedSizeImplementations
impl TextMessage[src]
pub fn new() -> TextMessage[src]
pub fn get_actor(&self) -> u32[src]
pub fn clear_actor(&mut self)[src]
pub fn has_actor(&self) -> bool[src]
pub fn set_actor(&mut self, v: u32)[src]
pub fn get_session(&self) -> &[u32][src]
pub fn clear_session(&mut self)[src]
pub fn set_session(&mut self, v: Vec<u32>)[src]
pub fn mut_session(&mut self) -> &mut Vec<u32>[src]
pub fn take_session(&mut self) -> Vec<u32>[src]
pub fn get_channel_id(&self) -> &[u32][src]
pub fn clear_channel_id(&mut self)[src]
pub fn set_channel_id(&mut self, v: Vec<u32>)[src]
pub fn mut_channel_id(&mut self) -> &mut Vec<u32>[src]
pub fn take_channel_id(&mut self) -> Vec<u32>[src]
pub fn get_tree_id(&self) -> &[u32][src]
pub fn clear_tree_id(&mut self)[src]
pub fn set_tree_id(&mut self, v: Vec<u32>)[src]
pub fn mut_tree_id(&mut self) -> &mut Vec<u32>[src]
pub fn take_tree_id(&mut self) -> Vec<u32>[src]
pub fn get_message(&self) -> &str[src]
pub fn clear_message(&mut self)[src]
pub fn has_message(&self) -> bool[src]
pub fn set_message(&mut self, v: String)[src]
pub fn mut_message(&mut self) -> &mut String[src]
pub fn take_message(&mut self) -> String[src]
Trait Implementations
impl Clear for TextMessage[src]
impl Clone for TextMessage[src]
fn clone(&self) -> TextMessage[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for TextMessage[src]
impl Default for TextMessage[src]
fn default() -> TextMessage[src]
impl<'a> Default for &'a TextMessage[src]
fn default() -> &'a TextMessage[src]
impl<Dst: VoicePacketDst> From<TextMessage> for ControlPacket<Dst>[src]
fn from(inner: TextMessage) -> Self[src]
impl From<TextMessage> for RawControlPacket[src]
fn from(msg: TextMessage) -> Self[src]
impl Message for TextMessage[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) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> TextMessage[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static TextMessage[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 dyn 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 dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl PartialEq<TextMessage> for TextMessage[src]
fn eq(&self, other: &TextMessage) -> bool[src]
fn ne(&self, other: &TextMessage) -> bool[src]
impl ProtobufValue for TextMessage[src]
fn as_ref(&self) -> ReflectValueRef<'_>[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>[src]
impl StructuralPartialEq for TextMessage[src]
impl<'_> TryFrom<&'_ [u8]> for TextMessage[src]
type Error = ProtobufError
The type returned in the event of a conversion error.
fn try_from(bytes: &[u8]) -> Result<Self, Self::Error>[src]
impl TryFrom<Bytes> for TextMessage[src]
type Error = ProtobufError
The type returned in the event of a conversion error.
fn try_from(bytes: Bytes) -> Result<Self, Self::Error>[src]
impl TryFrom<RawControlPacket> for TextMessage[src]
type Error = ProtobufError
The type returned in the event of a conversion error.
fn try_from(packet: RawControlPacket) -> Result<Self, Self::Error>[src]
Auto Trait Implementations
impl RefUnwindSafe for TextMessage
impl Send for TextMessage
impl Sync for TextMessage
impl Unpin for TextMessage
impl UnwindSafe for TextMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,