pub struct MessageInteraction {
pub id: Snowflake,
pub t: u8,
pub name: String,
pub user: User,
}Expand description
Fields§
§id: SnowflakeID of the interaction
t: u8§name: StringName of the application command, including subcommands and subcommand groups
user: UserUser who invoked the interaction
Trait Implementations§
Source§impl Clone for MessageInteraction
impl Clone for MessageInteraction
Source§impl Debug for MessageInteraction
impl Debug for MessageInteraction
Source§impl<'de> Deserialize<'de> for MessageInteraction
impl<'de> Deserialize<'de> for MessageInteraction
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
Auto Trait Implementations§
impl Freeze for MessageInteraction
impl RefUnwindSafe for MessageInteraction
impl Send for MessageInteraction
impl Sync for MessageInteraction
impl Unpin for MessageInteraction
impl UnsafeUnpin for MessageInteraction
impl UnwindSafe for MessageInteraction
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