[][src]Struct tsproto_commands::messages::s2c::ChannelListPart

pub struct ChannelListPart<'a> {
    pub channel_id: ChannelId,
    pub parent_id: ChannelId,
    pub name: &'a str,
    pub topic: &'a str,
    pub codec: Codec,
    pub codec_quality: u8,
    pub max_clients: i32,
    pub max_family_clients: i32,
    pub order: i32,
    pub is_permanent: bool,
    pub is_semi_permanent: bool,
    pub is_default: bool,
    pub has_password: bool,
    pub codec_latency_factor: i32,
    pub is_unencrypted: bool,
    pub delete_delay: Duration,
    pub is_max_clients_unlimited: bool,
    pub is_max_family_clients_unlimited: bool,
    pub inherits_max_family_clients: bool,
    pub needed_talk_power: i32,
    pub forced_silence: bool,
    pub phonetic_name: &'a str,
    pub icon_id: IconHash,
    pub is_private: Option<bool>,
    pub phantom: PhantomData<&'a ()>,
}

Fields

channel_id: ChannelId

cid in TeamSpeak.

parent_id: ChannelId

cpid in TeamSpeak.

name: &'a str

channel_name in TeamSpeak.

topic: &'a str

channel_topic in TeamSpeak.

codec: Codec

channel_codec in TeamSpeak.

codec_quality: u8

channel_codec_quality in TeamSpeak.

max_clients: i32

channel_maxclients in TeamSpeak.

max_family_clients: i32

channel_maxfamilyclients in TeamSpeak.

order: i32

channel_order in TeamSpeak.

is_permanent: bool

channel_flag_permanent in TeamSpeak.

is_semi_permanent: bool

channel_flag_semi_permanent in TeamSpeak.

is_default: bool

channel_flag_default in TeamSpeak.

has_password: bool

channel_flag_password in TeamSpeak.

codec_latency_factor: i32

channel_codec_latency_factor in TeamSpeak.

is_unencrypted: bool

channel_codec_is_unencrypted in TeamSpeak.

delete_delay: Duration

channel_delete_delay in TeamSpeak.

is_max_clients_unlimited: bool

channel_flag_maxclients_unlimited in TeamSpeak.

is_max_family_clients_unlimited: bool

channel_flag_maxfamilyclients_unlimited in TeamSpeak.

inherits_max_family_clients: bool

channel_flag_maxfamilyclients_inherited in TeamSpeak.

needed_talk_power: i32

channel_needed_talk_power in TeamSpeak.

forced_silence: bool

channel_forced_silence in TeamSpeak.

phonetic_name: &'a str

channel_name_phonetic in TeamSpeak.

icon_id: IconHash

channel_icon_id in TeamSpeak.

is_private: Option<bool>

channel_flag_private in TeamSpeak.

phantom: PhantomData<&'a ()>

Trait Implementations

impl<'a> Debug for ChannelListPart<'a>[src]

Auto Trait Implementations

impl<'a> Send for ChannelListPart<'a>

impl<'a> Sync for ChannelListPart<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> Same for T

type Output = T

Should always be Self