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]
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