pub struct SlackSocketModeDisconnectEvent {
pub reason: String,
pub debug_info: SlackSocketModeDebugInfo,
}Fields§
§reason: String§debug_info: SlackSocketModeDebugInfoImplementations§
Source§impl SlackSocketModeDisconnectEvent
impl SlackSocketModeDisconnectEvent
pub fn new(reason: String, debug_info: SlackSocketModeDebugInfo) -> Self
pub fn reason(&mut self, value: String) -> &mut Self
pub fn with_reason(self, value: String) -> Self
pub fn debug_info(&mut self, value: SlackSocketModeDebugInfo) -> &mut Self
pub fn with_debug_info(self, value: SlackSocketModeDebugInfo) -> Self
Trait Implementations§
Source§impl Clone for SlackSocketModeDisconnectEvent
impl Clone for SlackSocketModeDisconnectEvent
Source§fn clone(&self) -> SlackSocketModeDisconnectEvent
fn clone(&self) -> SlackSocketModeDisconnectEvent
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<'de> Deserialize<'de> for SlackSocketModeDisconnectEvent
impl<'de> Deserialize<'de> for SlackSocketModeDisconnectEvent
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<SlackSocketModeDisconnectEventInit> for SlackSocketModeDisconnectEvent
impl From<SlackSocketModeDisconnectEventInit> for SlackSocketModeDisconnectEvent
Source§fn from(value: SlackSocketModeDisconnectEventInit) -> Self
fn from(value: SlackSocketModeDisconnectEventInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackSocketModeDisconnectEvent
impl PartialEq for SlackSocketModeDisconnectEvent
Source§fn eq(&self, other: &SlackSocketModeDisconnectEvent) -> bool
fn eq(&self, other: &SlackSocketModeDisconnectEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackSocketModeDisconnectEvent
Auto Trait Implementations§
impl Freeze for SlackSocketModeDisconnectEvent
impl RefUnwindSafe for SlackSocketModeDisconnectEvent
impl Send for SlackSocketModeDisconnectEvent
impl Sync for SlackSocketModeDisconnectEvent
impl Unpin for SlackSocketModeDisconnectEvent
impl UnwindSafe for SlackSocketModeDisconnectEvent
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