Trait M2BServerEditExt

Source
pub trait M2BServerEditExt<'a> {
Show 21 methods // Required methods fn set_password(self, password: Option<&'a str>) -> Self; fn set_name(self, name: &'a str) -> Self; fn set_welcome_message(self, welcome_message: &'a str) -> Self; fn set_max_clients(self, max_clients: u16) -> Self; fn set_hostmessage(self, hostmessage: &'a str) -> Self; fn set_hostmessage_mode(self, hostmessage_mode: HostMessageMode) -> Self; fn set_hostbanner_url(self, hostbanner_url: &'a str) -> Self; fn set_hostbanner_gfx_url(self, hostbanner_gfx_url: &'a str) -> Self; fn set_hostbanner_gfx_interval( self, hostbanner_gfx_interval: Duration, ) -> Self; fn set_hostbutton_tooltip(self, hostbutton_tooltip: &'a str) -> Self; fn set_hostbutton_url(self, hostbutton_url: &'a str) -> Self; fn set_hostbutton_gfx_url(self, hostbutton_gfx_url: &'a str) -> Self; fn set_icon(self, icon: IconId) -> Self; fn set_hostbanner_mode(self, hostbanner_mode: HostBannerMode) -> Self; fn set_nickname(self, nickname: &'a str) -> Self; fn set_codec_encryption_mode( self, codec_encryption_mode: CodecEncryptionMode, ) -> Self; fn set_default_server_group( self, default_server_group: ServerGroupId, ) -> Self; fn set_default_channel_group( self, default_channel_group: ChannelGroupId, ) -> Self; fn set_priority_speaker_dimm_modificator( self, priority_speaker_dimm_modificator: f32, ) -> Self; fn set_phonetic_name(self, phonetic_name: &'a str) -> Self; fn set_temp_channel_default_delete_delay( self, temp_channel_default_delete_delay: Duration, ) -> Self;
}

Required Methods§

Source

fn set_password(self, password: Option<&'a str>) -> Self

Source

fn set_name(self, name: &'a str) -> Self

Source

fn set_welcome_message(self, welcome_message: &'a str) -> Self

Source

fn set_max_clients(self, max_clients: u16) -> Self

Source

fn set_hostmessage(self, hostmessage: &'a str) -> Self

Source

fn set_hostmessage_mode(self, hostmessage_mode: HostMessageMode) -> Self

Source

fn set_hostbanner_url(self, hostbanner_url: &'a str) -> Self

Source

fn set_hostbanner_gfx_url(self, hostbanner_gfx_url: &'a str) -> Self

Source

fn set_hostbanner_gfx_interval(self, hostbanner_gfx_interval: Duration) -> Self

Source

fn set_hostbutton_tooltip(self, hostbutton_tooltip: &'a str) -> Self

Source

fn set_hostbutton_url(self, hostbutton_url: &'a str) -> Self

Source

fn set_hostbutton_gfx_url(self, hostbutton_gfx_url: &'a str) -> Self

Source

fn set_icon(self, icon: IconId) -> Self

Source

fn set_hostbanner_mode(self, hostbanner_mode: HostBannerMode) -> Self

Source

fn set_nickname(self, nickname: &'a str) -> Self

Source

fn set_codec_encryption_mode( self, codec_encryption_mode: CodecEncryptionMode, ) -> Self

Source

fn set_default_server_group(self, default_server_group: ServerGroupId) -> Self

Source

fn set_default_channel_group( self, default_channel_group: ChannelGroupId, ) -> Self

Source

fn set_priority_speaker_dimm_modificator( self, priority_speaker_dimm_modificator: f32, ) -> Self

Source

fn set_phonetic_name(self, phonetic_name: &'a str) -> Self

Source

fn set_temp_channel_default_delete_delay( self, temp_channel_default_delete_delay: Duration, ) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§