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 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 CachedMessageInteraction
impl Debug for CachedMessageInteraction
source§impl PartialEq<CachedMessageInteraction> for CachedMessageInteraction
impl PartialEq<CachedMessageInteraction> for CachedMessageInteraction
source§fn eq(&self, other: &CachedMessageInteraction) -> bool
fn eq(&self, other: &CachedMessageInteraction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.