Struct discord::model::RichInvite
[−]
[src]
pub struct RichInvite { pub code: String, pub server_icon: Option<String>, pub server_id: ServerId, pub server_name: String, pub server_splash_hash: Option<String>, pub channel_type: ChannelType, pub channel_id: ChannelId, pub channel_name: String, pub inviter: User, pub created_at: String, pub max_age: u64, pub max_uses: u64, pub temporary: bool, pub uses: u64, }
Detailed information about an invite, available to server managers
Fields
code: String
server_icon: Option<String>
server_id: ServerId
server_name: String
server_splash_hash: Option<String>
channel_type: ChannelType
channel_id: ChannelId
channel_name: String
inviter: User
created_at: String
max_age: u64
max_uses: u64
temporary: bool
uses: u64
Methods
impl RichInvite
[src]
Trait Implementations
impl Debug for RichInvite
[src]
impl Clone for RichInvite
[src]
fn clone(&self) -> RichInvite
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