[][src]Struct mumble_protocol::control::msgs::ServerConfig

pub struct ServerConfig {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ServerConfig[src]

pub fn new() -> ServerConfig[src]

pub fn get_max_bandwidth(&self) -> u32[src]

pub fn clear_max_bandwidth(&mut self)[src]

pub fn has_max_bandwidth(&self) -> bool[src]

pub fn set_max_bandwidth(&mut self, v: u32)[src]

pub fn get_welcome_text(&self) -> &str[src]

pub fn clear_welcome_text(&mut self)[src]

pub fn has_welcome_text(&self) -> bool[src]

pub fn set_welcome_text(&mut self, v: String)[src]

pub fn mut_welcome_text(&mut self) -> &mut String[src]

pub fn take_welcome_text(&mut self) -> String[src]

pub fn get_allow_html(&self) -> bool[src]

pub fn clear_allow_html(&mut self)[src]

pub fn has_allow_html(&self) -> bool[src]

pub fn set_allow_html(&mut self, v: bool)[src]

pub fn get_message_length(&self) -> u32[src]

pub fn clear_message_length(&mut self)[src]

pub fn has_message_length(&self) -> bool[src]

pub fn set_message_length(&mut self, v: u32)[src]

pub fn get_image_message_length(&self) -> u32[src]

pub fn clear_image_message_length(&mut self)[src]

pub fn has_image_message_length(&self) -> bool[src]

pub fn set_image_message_length(&mut self, v: u32)[src]

pub fn get_max_users(&self) -> u32[src]

pub fn clear_max_users(&mut self)[src]

pub fn has_max_users(&self) -> bool[src]

pub fn set_max_users(&mut self, v: u32)[src]

Trait Implementations

impl Clear for ServerConfig[src]

impl Clone for ServerConfig[src]

impl Debug for ServerConfig[src]

impl Default for ServerConfig[src]

impl<'a> Default for &'a ServerConfig[src]

impl<Dst: VoicePacketDst> From<ServerConfig> for ControlPacket<Dst>[src]

impl From<ServerConfig> for RawControlPacket[src]

impl Message for ServerConfig[src]

impl PartialEq<ServerConfig> for ServerConfig[src]

impl ProtobufValue for ServerConfig[src]

impl StructuralPartialEq for ServerConfig[src]

impl<'_> TryFrom<&'_ [u8]> for ServerConfig[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

impl TryFrom<Bytes> for ServerConfig[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

impl TryFrom<RawControlPacket> for ServerConfig[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.