Struct discord::model::RichInvite  
                   
                       [−]
                   
               [src]
pub struct RichInvite {
    pub code: String,
    pub xkcdpass: 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 revoked: bool,
    pub temporary: bool,
    pub uses: u64,
}Detailed information about an invite, available to server managers
Fields
code | |
xkcdpass | |
server_id | |
server_name | |
server_splash_hash | |
channel_type | |
channel_id | |
channel_name | |
inviter | |
created_at | |
max_age | |
max_uses | |
revoked | |
temporary | |
uses | 
Methods
impl RichInvite[src]
Trait Implementations
Derived Implementations
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