pub struct InteractionMember {
pub avatar: Option<ImageHash>,
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<Id<RoleMarker>>,
}Expand description
Partial member resolved from an Interaction.
Fields§
§avatar: Option<ImageHash>Member’s guild avatar.
communication_disabled_until: Option<Timestamp>If the member is timed out, when the timeout will expire.
joined_at: TimestampMember guild join date.
nick: Option<String>Member nickname.
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<Id<RoleMarker>>Member roles.
Trait Implementations§
source§impl Clone for InteractionMember
impl Clone for InteractionMember
source§fn clone(&self) -> InteractionMember
fn clone(&self) -> InteractionMember
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InteractionMember
impl Debug for InteractionMember
source§impl<'de> Deserialize<'de> for InteractionMember
impl<'de> Deserialize<'de> for InteractionMember
source§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
source§impl PartialEq<InteractionMember> for InteractionMember
impl PartialEq<InteractionMember> for InteractionMember
source§fn eq(&self, other: &InteractionMember) -> bool
fn eq(&self, other: &InteractionMember) -> bool
This method tests for
self and other values to be equal, and is used
by ==.