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>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 VoiceChannel
impl Send for VoiceChannel
impl Sync for VoiceChannel
impl Unpin for VoiceChannel
impl UnwindSafe for VoiceChannel
Blanket Implementations
Mutably borrows from an owned value. Read more
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