Struct twilight_http::request::guild::create_guild::VoiceFields [−][src]
pub struct VoiceFields {
pub bitrate: Option<u64>,
pub id: ChannelId,
pub kind: ChannelType,
pub name: String,
pub permission_overwrites: Option<Vec<PermissionOverwrite>>,
pub parent_id: Option<ChannelId>,
pub user_limit: Option<u64>,
}Expand description
Voice channel fields sent to Discord.
Use VoiceFieldsBuilder to build one.
Fields
bitrate: Option<u64>id: ChannelIdkind: ChannelTypename: Stringpermission_overwrites: Option<Vec<PermissionOverwrite>>parent_id: Option<ChannelId>user_limit: Option<u64>Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for VoiceFields
impl Send for VoiceFields
impl Sync for VoiceFields
impl Unpin for VoiceFields
impl UnwindSafe for VoiceFields
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more