Struct discord::model::VoiceRegion
[−]
[src]
pub struct VoiceRegion {
pub id: String,
pub name: String,
pub sample_hostname: String,
pub sample_port: u16,
pub optimal: bool,
pub vip: bool,
}Information about an available voice region
Fields
id | |
name | |
sample_hostname | |
sample_port | |
optimal | |
vip |
Methods
impl VoiceRegion[src]
fn decode(value: Value) -> Result<VoiceRegion>
Trait Implementations
Derived Implementations
impl Clone for VoiceRegion[src]
fn clone(&self) -> VoiceRegion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more