[][src]Struct twilight_model::invite::Invite

pub struct Invite {
    pub approximate_member_count: Option<u64>,
    pub approximate_presence_count: Option<u64>,
    pub channel: InviteChannel,
    pub code: String,
    pub guild: Option<InviteGuild>,
    pub inviter: Option<User>,
    pub target_user_type: Option<TargetUserType>,
    pub target_user: Option<User>,
}

Fields

approximate_member_count: Option<u64>approximate_presence_count: Option<u64>channel: InviteChannelcode: Stringguild: Option<InviteGuild>inviter: Option<User>target_user_type: Option<TargetUserType>target_user: Option<User>

Trait Implementations

impl Clone for Invite[src]

impl Debug for Invite[src]

impl<'de> Deserialize<'de> for Invite[src]

impl Eq for Invite[src]

impl PartialEq<Invite> for Invite[src]

impl Serialize for Invite[src]

impl StructuralEq for Invite[src]

impl StructuralPartialEq for Invite[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.