Struct twilight_model::application::interaction::application_command::InteractionMember [−][src]
pub struct InteractionMember {
pub avatar: Option<String>,
pub communication_disabled_until: Option<Timestamp>,
pub joined_at: Timestamp,
pub nick: Option<String>,
pub pending: bool,
pub permissions: Permissions,
pub premium_since: Option<Timestamp>,
pub roles: Vec<RoleId>,
}Fields
avatar: Option<String>Member’s guild avatar.
communication_disabled_until: Option<Timestamp>joined_at: Timestampnick: Option<String>pending: boolWhether the user has yet to pass the guild’s Membership Screening requirements.
permissions: PermissionsTotal permissions of the member in this channel including overwrites
roles: Vec<RoleId>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
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 InteractionMember
impl Send for InteractionMember
impl Sync for InteractionMember
impl Unpin for InteractionMember
impl UnwindSafe for InteractionMember
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
