Struct discord::model::Server
[−]
[src]
pub struct Server {
pub id: ServerId,
pub name: String,
pub afk_timeout: u64,
pub afk_channel_id: Option<ChannelId>,
pub icon: Option<String>,
pub roles: Vec<Role>,
pub region: String,
pub embed_enabled: bool,
pub embed_channel_id: Option<ChannelId>,
pub owner_id: UserId,
pub verification_level: VerificationLevel,
}Static information about a server
Fields
id | |
name | |
afk_timeout | |
afk_channel_id | |
icon | |
roles | |
region | |
embed_enabled | |
embed_channel_id | |
owner_id | |
verification_level |
Methods
impl Server[src]
Trait Implementations
Derived Implementations
impl Clone for Server[src]
fn clone(&self) -> Server
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