Struct twilight_http::request::guild::create_guild::VoiceFields
source · 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 copy 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§fn eq(&self, other: &VoiceFields) -> bool
fn eq(&self, other: &VoiceFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
§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.