Struct discord::model::LiveServer
[−]
[src]
pub struct LiveServer { pub id: ServerId, pub name: String, pub owner_id: UserId, pub voice_states: Vec<VoiceState>, pub roles: Vec<Role>, pub region: String, pub presences: Vec<Presence>, pub member_count: u64, pub members: Vec<Member>, pub joined_at: String, pub icon: Option<String>, pub large: bool, pub channels: Vec<PublicChannel>, pub afk_timeout: u64, pub afk_channel_id: Option<ChannelId>, pub verification_level: VerificationLevel, pub emojis: Vec<Emoji>, pub features: Vec<String>, pub splash: Option<String>, pub default_message_notifications: u64, pub mfa_level: u64, }
Live server information
Fields
id | |
name | |
owner_id | |
voice_states | |
roles | |
region | |
presences | |
member_count | |
members | |
joined_at | |
icon | |
large | |
channels | |
afk_timeout | |
afk_channel_id | |
verification_level | |
emojis | |
features | |
splash | |
default_message_notifications | |
mfa_level |
Methods
impl LiveServer
[src]
fn decode(value: Value) -> Result<LiveServer>
Trait Implementations
Derived Implementations
impl Clone for LiveServer
[src]
fn clone(&self) -> LiveServer
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