pub struct InteractionMember {
pub avatar: Option<ImageHash>,
pub communication_disabled_until: Option<Timestamp>,
pub flags: MemberFlags,
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.
flags: MemberFlagsFlags for the member.
Defaults to an empty bitfield.
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 ==.source§impl Serialize for InteractionMember
impl Serialize for InteractionMember
impl Eq for InteractionMember
impl StructuralEq for InteractionMember
impl StructuralPartialEq for InteractionMember
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more