Struct ts3_query::ChannelEdit
source[−]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>
See 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: bool
channel_codec: Option<i32>
channel_codec_quality: Option<u8>
channel_needed_talk_power: Option<i32>
channel_icon_id: Option<IconHash>