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
Performs the conversion.
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 VoiceFieldsimpl Send for VoiceFieldsimpl Sync for VoiceFieldsimpl Unpin for VoiceFieldsimpl UnwindSafe for VoiceFieldsBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V