pub enum SocketModeEvent {
HelloEvent(HelloEvent),
DisconnectEvent(DisconnectEvent),
EventsAPI(EventsAPI),
InteractiveEvent(InteractiveEvent),
SlashCommandsEvent(SlashCommandsEvent),
}Variants§
HelloEvent(HelloEvent)
DisconnectEvent(DisconnectEvent)
EventsAPI(EventsAPI)
InteractiveEvent(InteractiveEvent)
SlashCommandsEvent(SlashCommandsEvent)
Implementations§
Source§impl SocketModeEvent
impl SocketModeEvent
pub fn event_type(&self) -> SocketModeEventType
Trait Implementations§
Source§impl Debug for SocketModeEvent
impl Debug for SocketModeEvent
Source§impl<'de> Deserialize<'de> for SocketModeEvent
impl<'de> Deserialize<'de> for SocketModeEvent
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 SocketModeEvent
impl PartialEq for SocketModeEvent
Source§impl Serialize for SocketModeEvent
impl Serialize for SocketModeEvent
impl StructuralPartialEq for SocketModeEvent
Auto Trait Implementations§
impl Freeze for SocketModeEvent
impl RefUnwindSafe for SocketModeEvent
impl Send for SocketModeEvent
impl Sync for SocketModeEvent
impl Unpin for SocketModeEvent
impl UnwindSafe for SocketModeEvent
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