pub struct SlackSocketModeDebugInfo {
pub host: String,
pub started: Option<String>,
pub build_number: Option<u64>,
pub approximate_connection_time: Option<u64>,
}Fields§
§host: String§started: Option<String>§build_number: Option<u64>§approximate_connection_time: Option<u64>Implementations§
Source§impl SlackSocketModeDebugInfo
impl SlackSocketModeDebugInfo
pub fn new(host: String) -> Self
pub fn host(&mut self, value: String) -> &mut Self
pub fn with_host(self, value: String) -> Self
pub fn started(&mut self, value: String) -> &mut Self
pub fn reset_started(&mut self) -> &mut Self
pub fn mopt_started(&mut self, value: Option<String>) -> &mut Self
pub fn with_started(self, value: String) -> Self
pub fn without_started(self) -> Self
pub fn opt_started(self, value: Option<String>) -> Self
pub fn build_number(&mut self, value: u64) -> &mut Self
pub fn reset_build_number(&mut self) -> &mut Self
pub fn mopt_build_number(&mut self, value: Option<u64>) -> &mut Self
pub fn with_build_number(self, value: u64) -> Self
pub fn without_build_number(self) -> Self
pub fn opt_build_number(self, value: Option<u64>) -> Self
pub fn approximate_connection_time(&mut self, value: u64) -> &mut Self
pub fn reset_approximate_connection_time(&mut self) -> &mut Self
pub fn mopt_approximate_connection_time( &mut self, value: Option<u64>, ) -> &mut Self
pub fn with_approximate_connection_time(self, value: u64) -> Self
pub fn without_approximate_connection_time(self) -> Self
pub fn opt_approximate_connection_time(self, value: Option<u64>) -> Self
Trait Implementations§
Source§impl Clone for SlackSocketModeDebugInfo
impl Clone for SlackSocketModeDebugInfo
Source§fn clone(&self) -> SlackSocketModeDebugInfo
fn clone(&self) -> SlackSocketModeDebugInfo
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 SlackSocketModeDebugInfo
impl Debug for SlackSocketModeDebugInfo
Source§impl<'de> Deserialize<'de> for SlackSocketModeDebugInfo
impl<'de> Deserialize<'de> for SlackSocketModeDebugInfo
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<SlackSocketModeDebugInfoInit> for SlackSocketModeDebugInfo
impl From<SlackSocketModeDebugInfoInit> for SlackSocketModeDebugInfo
Source§fn from(value: SlackSocketModeDebugInfoInit) -> Self
fn from(value: SlackSocketModeDebugInfoInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackSocketModeDebugInfo
impl PartialEq for SlackSocketModeDebugInfo
Source§impl Serialize for SlackSocketModeDebugInfo
impl Serialize for SlackSocketModeDebugInfo
impl StructuralPartialEq for SlackSocketModeDebugInfo
Auto Trait Implementations§
impl Freeze for SlackSocketModeDebugInfo
impl RefUnwindSafe for SlackSocketModeDebugInfo
impl Send for SlackSocketModeDebugInfo
impl Sync for SlackSocketModeDebugInfo
impl Unpin for SlackSocketModeDebugInfo
impl UnwindSafe for SlackSocketModeDebugInfo
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