Struct twilight_model::invite::Invite [−][src]
pub struct Invite {Show 15 fields
pub approximate_member_count: Option<u64>,
pub approximate_presence_count: Option<u64>,
pub channel: Option<InviteChannel>,
pub code: String,
pub created_at: Option<Timestamp>,
pub expires_at: Option<Timestamp>,
pub guild: Option<InviteGuild>,
pub inviter: Option<User>,
pub max_age: Option<u64>,
pub max_uses: Option<u64>,
pub stage_instance: Option<InviteStageInstance>,
pub target_type: Option<TargetType>,
pub target_user: Option<User>,
pub temporary: Option<bool>,
pub uses: Option<u64>,
}
Fields
approximate_member_count: Option<u64>
approximate_presence_count: Option<u64>
channel: Option<InviteChannel>
code: String
created_at: Option<Timestamp>
expires_at: Option<Timestamp>
guild: Option<InviteGuild>
inviter: Option<User>
max_age: Option<u64>
max_uses: Option<u64>
stage_instance: Option<InviteStageInstance>
target_type: Option<TargetType>
target_user: Option<User>
temporary: Option<bool>
uses: Option<u64>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Invite
impl UnwindSafe for Invite
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more