pub struct SlashCommandsEvent {
pub envelope_id: String,
pub accepts_response_payload: bool,
pub payload: SlashPayload,
}Fields§
§envelope_id: String§accepts_response_payload: bool§payload: SlashPayloadTrait Implementations§
Source§impl Debug for SlashCommandsEvent
impl Debug for SlashCommandsEvent
Source§impl<'de> Deserialize<'de> for SlashCommandsEvent
impl<'de> Deserialize<'de> for SlashCommandsEvent
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 SlashCommandsEvent
impl PartialEq for SlashCommandsEvent
Source§impl Serialize for SlashCommandsEvent
impl Serialize for SlashCommandsEvent
impl StructuralPartialEq for SlashCommandsEvent
Auto Trait Implementations§
impl Freeze for SlashCommandsEvent
impl RefUnwindSafe for SlashCommandsEvent
impl Send for SlashCommandsEvent
impl Sync for SlashCommandsEvent
impl Unpin for SlashCommandsEvent
impl UnwindSafe for SlashCommandsEvent
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