Struct twilight_model::invite::Invite [−][src]
pub struct Invite { pub approximate_member_count: Option<u64>, pub approximate_presence_count: Option<u64>, pub channel: InviteChannel, pub code: String, pub expires_at: Option<String>, pub guild: Option<InviteGuild>, pub inviter: Option<User>, pub stage_instance: Option<InviteStageInstance>, pub target_type: Option<TargetType>, pub target_user: Option<User>, }
Fields
approximate_member_count: Option<u64>
approximate_presence_count: Option<u64>
channel: InviteChannel
code: String
expires_at: Option<String>
guild: Option<InviteGuild>
inviter: Option<User>
stage_instance: Option<InviteStageInstance>
target_type: Option<TargetType>
target_user: Option<User>
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more