pub struct SlackSocketModeDebugInfo {
pub host: String,
pub started: Option<String>,
pub build_number: Option<u64>,
pub approximate_connection_time: Option<u64>,
}Fields
host: Stringstarted: Option<String>build_number: Option<u64>approximate_connection_time: Option<u64>Implementations
sourceimpl 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
sourceimpl Clone for SlackSocketModeDebugInfo
impl Clone for SlackSocketModeDebugInfo
sourcefn clone(&self) -> SlackSocketModeDebugInfo
fn clone(&self) -> SlackSocketModeDebugInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SlackSocketModeDebugInfo
impl Debug for SlackSocketModeDebugInfo
sourceimpl<'de> Deserialize<'de> for SlackSocketModeDebugInfo
impl<'de> Deserialize<'de> for SlackSocketModeDebugInfo
sourcefn 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
sourceimpl From<SlackSocketModeDebugInfoInit> for SlackSocketModeDebugInfo
impl From<SlackSocketModeDebugInfoInit> for SlackSocketModeDebugInfo
sourcefn from(value: SlackSocketModeDebugInfoInit) -> Self
fn from(value: SlackSocketModeDebugInfoInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackSocketModeDebugInfo> for SlackSocketModeDebugInfo
impl PartialEq<SlackSocketModeDebugInfo> for SlackSocketModeDebugInfo
sourcefn eq(&self, other: &SlackSocketModeDebugInfo) -> bool
fn eq(&self, other: &SlackSocketModeDebugInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlackSocketModeDebugInfo) -> bool
fn ne(&self, other: &SlackSocketModeDebugInfo) -> bool
This method tests for !=.
sourceimpl Serialize for SlackSocketModeDebugInfo
impl Serialize for SlackSocketModeDebugInfo
impl StructuralPartialEq for SlackSocketModeDebugInfo
Auto Trait Implementations
impl RefUnwindSafe for SlackSocketModeDebugInfo
impl Send for SlackSocketModeDebugInfo
impl Sync for SlackSocketModeDebugInfo
impl Unpin for SlackSocketModeDebugInfo
impl UnwindSafe for SlackSocketModeDebugInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more