Struct dasi::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

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

Trait Implementations

Derived Implementations

impl Clone for Invite

fn clone(&self) -> Invite

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Invite

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