Struct ts3::event::ChannelEdited

source ·
pub struct ChannelEdited {
Show 25 fields pub cid: ChannelId, pub reasonid: ReasonId, pub invokerid: ClientId, pub invokername: String, pub invokeruid: String, pub channel_name: String, pub channel_topic: String, pub channel_codec: u8, pub channel_codec_quality: u8, pub channel_maxclients: u16, pub channel_maxfamilyclients: u16, pub channel_order: u64, pub channel_flag_permanent: bool, pub channel_flag_semi_permanent: bool, pub channel_flag_default: bool, pub channel_flag_password: String, pub channel_codec_latency_factor: u64, pub channel_codec_is_unencrypted: bool, pub channel_delete_delay: u32, pub channel_flag_maxclients_unlimited: bool, pub channel_flag_maxfamilyclients_unlimited: bool, pub channel_flag_maxfamilyclients_inherited: bool, pub channel_needed_talk_power: u32, pub channel_name_phonetic: String, pub channel_icon_id: u64,
}
Expand description

Data for a channeledited event. The fields cid, reasonid, invokerid, invokername and invokeruid are always included. All fields prefixed channel_… are only included if the value of the channel was changed.

Fields§

§cid: ChannelId§reasonid: ReasonId§invokerid: ClientId§invokername: String§invokeruid: String§channel_name: String§channel_topic: String§channel_codec: u8§channel_codec_quality: u8§channel_maxclients: u16§channel_maxfamilyclients: u16§channel_order: u64§channel_flag_permanent: bool§channel_flag_semi_permanent: bool§channel_flag_default: bool§channel_flag_password: String§channel_codec_latency_factor: u64§channel_codec_is_unencrypted: bool§channel_delete_delay: u32§channel_flag_maxclients_unlimited: bool§channel_flag_maxfamilyclients_unlimited: bool§channel_flag_maxfamilyclients_inherited: bool§channel_needed_talk_power: u32§channel_name_phonetic: String§channel_icon_id: u64

Trait Implementations§

source§

impl Debug for ChannelEdited

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Decode for ChannelEdited

§

type Error = Error

source§

fn decode(buf: &[u8]) -> Result<Self, Self::Error>

source§

impl Default for ChannelEdited

source§

fn default() -> ChannelEdited

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.