Struct twilight_model::gateway::payload::InviteCreate [−][src]
pub struct InviteCreate {
pub channel_id: ChannelId,
pub code: String,
pub created_at: String,
pub guild_id: GuildId,
pub inviter: Option<User>,
pub max_age: u64,
pub max_uses: u64,
pub target_user_type: Option<TargetType>,
pub target_user: Option<PartialUser>,
pub temporary: bool,
pub uses: u8,
}Fields
channel_id: ChannelIdcode: Stringcreated_at: Stringguild_id: GuildIdinviter: Option<User>max_age: u64max_uses: u64target_user_type: Option<TargetType>target_user: Option<PartialUser>temporary: booluses: u8Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for InviteCreateimpl Send for InviteCreateimpl Sync for InviteCreateimpl Unpin for InviteCreateimpl UnwindSafe for InviteCreateBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more