pub struct CachedMessageInteraction { /* private fields */ }
Expand description
Information about the message interaction.
Implementations§
Source§impl CachedMessageInteraction
impl CachedMessageInteraction
Sourcepub const fn id(&self) -> Id<InteractionMarker>
pub const fn id(&self) -> Id<InteractionMarker>
ID of the interaction.
Sourcepub const fn kind(&self) -> InteractionType
pub const fn kind(&self) -> InteractionType
Type of the interaction.
Sourcepub const fn user_id(&self) -> Id<UserMarker>
pub const fn user_id(&self) -> Id<UserMarker>
ID of the user who invoked the interaction.
Trait Implementations§
Source§impl Clone for CachedMessageInteraction
impl Clone for CachedMessageInteraction
Source§fn clone(&self) -> CachedMessageInteraction
fn clone(&self) -> CachedMessageInteraction
Returns a duplicate 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 CachedMessageInteraction
impl Debug for CachedMessageInteraction
Source§impl PartialEq for CachedMessageInteraction
impl PartialEq for CachedMessageInteraction
Source§impl Serialize for CachedMessageInteraction
impl Serialize for CachedMessageInteraction
impl Eq for CachedMessageInteraction
impl StructuralPartialEq for CachedMessageInteraction
Auto Trait Implementations§
impl Freeze for CachedMessageInteraction
impl RefUnwindSafe for CachedMessageInteraction
impl Send for CachedMessageInteraction
impl Sync for CachedMessageInteraction
impl Unpin for CachedMessageInteraction
impl UnwindSafe for CachedMessageInteraction
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