Struct twilight_model::channel::VoiceChannel [−][src]
pub struct VoiceChannel {
pub bitrate: u64,
pub guild_id: Option<GuildId>,
pub id: ChannelId,
pub kind: ChannelType,
pub name: String,
pub parent_id: Option<ChannelId>,
pub permission_overwrites: Vec<PermissionOverwrite>,
pub position: i64,
pub rtc_region: Option<String>,
pub user_limit: Option<u64>,
pub video_quality_mode: Option<VideoQualityMode>,
}Fields
bitrate: u64guild_id: Option<GuildId>id: ChannelIdkind: ChannelTypename: Stringparent_id: Option<ChannelId>permission_overwrites: Vec<PermissionOverwrite>position: i64rtc_region: Option<String>ID of the voice channel’s region.
Automatic when not present.
user_limit: Option<u64>video_quality_mode: Option<VideoQualityMode>Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
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 VoiceChannelimpl Send for VoiceChannelimpl Sync for VoiceChannelimpl Unpin for VoiceChannelimpl UnwindSafe for VoiceChannelBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more