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>
Trait Implementations§
Source§impl Debug for ChannelEdit
impl Debug for ChannelEdit
Source§impl Default for ChannelEdit
impl Default for ChannelEdit
Source§fn default() -> ChannelEdit
fn default() -> ChannelEdit
Returns the “default value” for a type. Read more
Source§impl From<&ChannelFull> for ChannelEdit
impl From<&ChannelFull> for ChannelEdit
Source§fn from(c: &ChannelFull) -> Self
fn from(c: &ChannelFull) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChannelEdit
impl RefUnwindSafe for ChannelEdit
impl Send for ChannelEdit
impl Sync for ChannelEdit
impl Unpin for ChannelEdit
impl UnwindSafe for ChannelEdit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more