Struct serenity::model::VoiceRegion
[−]
[src]
pub struct VoiceRegion {
pub custom: bool,
pub deprecated: bool,
pub id: String,
pub name: String,
pub optional: bool,
pub sample_hostname: String,
pub sample_port: u64,
pub vip: bool,
}Information about an available voice region.
Fields
custom: bool
Whether it is a custom voice region, which is used for events.
deprecated: bool
Whether it is a deprecated voice region, which you should avoid using.
id: String
The internal Id of the voice region.
name: String
A recognizable name of the location of the voice region.
optional: bool
Whether the voice region is optimal for use by the current user.
sample_hostname: String
an example hostname.
sample_port: u64
An example port.
vip: bool
Indicator of whether the voice region is only for VIP guilds.
Trait Implementations
impl Clone for VoiceRegion[src]
fn clone(&self) -> VoiceRegion[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more