pub struct ChannelEdit {
Show 13 fields pub channel_name: Option<String>, pub channel_life: Option<ChannelLife>, pub pid: Option<ChannelId>, pub channel_order: Option<ChannelId>, pub channel_topic: Option<String>, pub channel_password: Option<String>, pub channel_maxclients: Option<i32>, pub channel_maxfamilyclients: Option<i32>, pub channel_flag_default: bool, pub channel_codec: Option<i32>, pub channel_codec_quality: Option<u8>, pub channel_needed_talk_power: Option<i32>, pub channel_icon_id: Option<IconHash>,
}
Expand description

This struct defines the values of a channel that are changeable The difference to ChannelFull is that this does not contain values that are not changeable like

Fields

channel_name: Option<String>

The channel name

Note Has to be unique or else it might fail!

channel_life: Option<ChannelLife>pid: Option<ChannelId>

The parent channel id. If set, the channel becomes a Sub-Channel

channel_order: Option<ChannelId>

The channel after which this channel gets placed

channel_topic: Option<String>channel_password: Option<String>channel_maxclients: Option<i32>channel_maxfamilyclients: Option<i32>channel_flag_default: boolchannel_codec: Option<i32>channel_codec_quality: Option<u8>channel_needed_talk_power: Option<i32>channel_icon_id: Option<IconHash>

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.