pub struct CachedMessageInteraction {
pub id: Id<InteractionMarker>,
pub kind: InteractionType,
pub name: String,
pub user_id: Id<UserMarker>,
}Expand description
Information about the message interaction.
Fields§
§id: Id<InteractionMarker>§kind: InteractionType§name: String§user_id: Id<UserMarker>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<'de> Deserialize<'de> for CachedMessageInteraction
impl<'de> Deserialize<'de> for CachedMessageInteraction
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 From<MessageInteraction> for CachedMessageInteraction
impl From<MessageInteraction> for CachedMessageInteraction
Source§fn from(message_interaction: MessageInteraction) -> Self
fn from(message_interaction: MessageInteraction) -> Self
Converts to this type from the input type.
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