[][src]Struct mumble_protocol::control::msgs::ContextAction

pub struct ContextAction {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ContextAction[src]

pub fn new() -> ContextAction[src]

pub fn get_session(&self) -> u32[src]

pub fn clear_session(&mut self)[src]

pub fn has_session(&self) -> bool[src]

pub fn set_session(&mut self, v: u32)[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_action(&self) -> &str[src]

pub fn clear_action(&mut self)[src]

pub fn has_action(&self) -> bool[src]

pub fn set_action(&mut self, v: String)[src]

pub fn mut_action(&mut self) -> &mut String[src]

pub fn take_action(&mut self) -> String[src]

Trait Implementations

impl Clear for ContextAction[src]

impl Clone for ContextAction[src]

impl Debug for ContextAction[src]

impl Default for ContextAction[src]

impl<'a> Default for &'a ContextAction[src]

impl<Dst: VoicePacketDst> From<ContextAction> for ControlPacket<Dst>[src]

impl From<ContextAction> for RawControlPacket[src]

impl Message for ContextAction[src]

impl PartialEq<ContextAction> for ContextAction[src]

impl ProtobufValue for ContextAction[src]

impl StructuralPartialEq for ContextAction[src]

impl TryFrom<&'_ [u8]> for ContextAction[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

impl TryFrom<Bytes> for ContextAction[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

impl TryFrom<RawControlPacket> for ContextAction[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.