pub struct VoiceFields {
    pub bitrate: Option<u32>,
    pub id: Id<ChannelMarker>,
    pub kind: ChannelType,
    pub name: String,
    pub permission_overwrites: Option<Vec<PermissionOverwrite>>,
    pub parent_id: Option<Id<ChannelMarker>>,
    pub user_limit: Option<u16>,
}Expand description
Voice channel fields sent to Discord.
Use VoiceFieldsBuilder to build one.
Fields§
§bitrate: Option<u32>§id: Id<ChannelMarker>§kind: ChannelType§name: String§permission_overwrites: Option<Vec<PermissionOverwrite>>§parent_id: Option<Id<ChannelMarker>>§user_limit: Option<u16>Trait Implementations§
Source§impl Clone for VoiceFields
 
impl Clone for VoiceFields
Source§fn clone(&self) -> VoiceFields
 
fn clone(&self) -> VoiceFields
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 VoiceFields
 
impl Debug for VoiceFields
Source§impl PartialEq for VoiceFields
 
impl PartialEq for VoiceFields
Source§impl Serialize for VoiceFields
 
impl Serialize for VoiceFields
impl Eq for VoiceFields
impl StructuralPartialEq for VoiceFields
Auto Trait Implementations§
impl Freeze for VoiceFields
impl RefUnwindSafe for VoiceFields
impl Send for VoiceFields
impl Sync for VoiceFields
impl Unpin for VoiceFields
impl UnwindSafe for VoiceFields
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more