Struct discord::model::Invite [] [src]

pub struct Invite {
    pub code: String,
    pub xkcdpass: Option<String>,
    pub server_id: ServerId,
    pub server_name: String,
    pub channel_type: ChannelType,
    pub channel_id: ChannelId,
    pub channel_name: String,
}

Information about an invite

Fields

code
xkcdpass
server_id
server_name
channel_type
channel_id
channel_name

Methods

impl Invite
[src]

fn decode(value: Value) -> Result<Invite>

Trait Implementations

Derived Implementations

impl Clone for Invite
[src]

fn clone(&self) -> Invite

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

impl Debug for Invite
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.