[−][src]Struct mumble_protocol::control::msgs::ChannelState
Fields
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl ChannelState
[src]
pub fn new() -> ChannelState
[src]
pub fn get_channel_id(&self) -> u32
[src]
pub fn clear_channel_id(&mut self)
[src]
pub fn has_channel_id(&self) -> bool
[src]
pub fn set_channel_id(&mut self, v: u32)
[src]
pub fn get_parent(&self) -> u32
[src]
pub fn clear_parent(&mut self)
[src]
pub fn has_parent(&self) -> bool
[src]
pub fn set_parent(&mut self, v: u32)
[src]
pub fn get_name(&self) -> &str
[src]
pub fn clear_name(&mut self)
[src]
pub fn has_name(&self) -> bool
[src]
pub fn set_name(&mut self, v: String)
[src]
pub fn mut_name(&mut self) -> &mut String
[src]
pub fn take_name(&mut self) -> String
[src]
pub fn get_links(&self) -> &[u32]
[src]
pub fn clear_links(&mut self)
[src]
pub fn set_links(&mut self, v: Vec<u32>)
[src]
pub fn mut_links(&mut self) -> &mut Vec<u32>
[src]
pub fn take_links(&mut self) -> Vec<u32>
[src]
pub fn get_description(&self) -> &str
[src]
pub fn clear_description(&mut self)
[src]
pub fn has_description(&self) -> bool
[src]
pub fn set_description(&mut self, v: String)
[src]
pub fn mut_description(&mut self) -> &mut String
[src]
pub fn take_description(&mut self) -> String
[src]
pub fn get_links_add(&self) -> &[u32]
[src]
pub fn clear_links_add(&mut self)
[src]
pub fn set_links_add(&mut self, v: Vec<u32>)
[src]
pub fn mut_links_add(&mut self) -> &mut Vec<u32>
[src]
pub fn take_links_add(&mut self) -> Vec<u32>
[src]
pub fn get_links_remove(&self) -> &[u32]
[src]
pub fn clear_links_remove(&mut self)
[src]
pub fn set_links_remove(&mut self, v: Vec<u32>)
[src]
pub fn mut_links_remove(&mut self) -> &mut Vec<u32>
[src]
pub fn take_links_remove(&mut self) -> Vec<u32>
[src]
pub fn get_temporary(&self) -> bool
[src]
pub fn clear_temporary(&mut self)
[src]
pub fn has_temporary(&self) -> bool
[src]
pub fn set_temporary(&mut self, v: bool)
[src]
pub fn get_position(&self) -> i32
[src]
pub fn clear_position(&mut self)
[src]
pub fn has_position(&self) -> bool
[src]
pub fn set_position(&mut self, v: i32)
[src]
pub fn get_description_hash(&self) -> &[u8]
[src]
pub fn clear_description_hash(&mut self)
[src]
pub fn has_description_hash(&self) -> bool
[src]
pub fn set_description_hash(&mut self, v: Vec<u8>)
[src]
pub fn mut_description_hash(&mut self) -> &mut Vec<u8>
[src]
pub fn take_description_hash(&mut self) -> Vec<u8>
[src]
pub fn get_max_users(&self) -> u32
[src]
pub fn clear_max_users(&mut self)
[src]
pub fn has_max_users(&self) -> bool
[src]
pub fn set_max_users(&mut self, v: u32)
[src]
Trait Implementations
impl Clear for ChannelState
[src]
impl Clone for ChannelState
[src]
fn clone(&self) -> ChannelState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChannelState
[src]
impl Default for ChannelState
[src]
fn default() -> ChannelState
[src]
impl<'a> Default for &'a ChannelState
[src]
fn default() -> &'a ChannelState
[src]
impl<Dst: VoicePacketDst> From<ChannelState> for ControlPacket<Dst>
[src]
fn from(inner: ChannelState) -> Self
[src]
impl From<ChannelState> for RawControlPacket
[src]
fn from(msg: ChannelState) -> Self
[src]
impl Message for ChannelState
[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() -> ChannelState
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static ChannelState
[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<ChannelState> for ChannelState
[src]
fn eq(&self, other: &ChannelState) -> bool
[src]
fn ne(&self, other: &ChannelState) -> bool
[src]
impl ProtobufValue for ChannelState
[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 ChannelState
[src]
impl<'_> TryFrom<&'_ [u8]> for ChannelState
[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 ChannelState
[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 ChannelState
[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 ChannelState
impl Send for ChannelState
impl Sync for ChannelState
impl Unpin for ChannelState
impl UnwindSafe for ChannelState
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>,