pub struct InteractionMember {
pub avatar: Option<ImageHash>,
pub communication_disabled_until: Option<Timestamp>,
pub flags: MemberFlags,
pub joined_at: Option<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: MemberFlags
Flags for the member.
Defaults to an empty bitfield.
joined_at: Option<Timestamp>
Member guild join date.
nick: Option<String>
Member nickname.
pending: bool
Whether the user has yet to pass the guild’s Membership Screening requirements.
permissions: Permissions
Total 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 for InteractionMember
impl PartialEq for InteractionMember
source§impl Serialize for InteractionMember
impl Serialize for InteractionMember
impl Eq for InteractionMember
impl StructuralPartialEq for InteractionMember
Auto Trait Implementations§
impl Freeze for InteractionMember
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)