pub enum ServerChannelType {
Text,
Voice,
}Expand description
Server channel type
Variants§
Trait Implementations§
Source§impl Clone for ServerChannelType
impl Clone for ServerChannelType
Source§fn clone(&self) -> ServerChannelType
fn clone(&self) -> ServerChannelType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerChannelType
impl Debug for ServerChannelType
Source§impl<'de> Deserialize<'de> for ServerChannelType
impl<'de> Deserialize<'de> for ServerChannelType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ServerChannelType
impl Hash for ServerChannelType
Source§impl Ord for ServerChannelType
impl Ord for ServerChannelType
Source§fn cmp(&self, other: &ServerChannelType) -> Ordering
fn cmp(&self, other: &ServerChannelType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ServerChannelType
impl PartialEq for ServerChannelType
Source§impl PartialOrd for ServerChannelType
impl PartialOrd for ServerChannelType
Source§impl Serialize for ServerChannelType
impl Serialize for ServerChannelType
impl Copy for ServerChannelType
impl Eq for ServerChannelType
impl StructuralPartialEq for ServerChannelType
Auto Trait Implementations§
impl Freeze for ServerChannelType
impl RefUnwindSafe for ServerChannelType
impl Send for ServerChannelType
impl Sync for ServerChannelType
impl Unpin for ServerChannelType
impl UnwindSafe for ServerChannelType
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