pub struct SocketTransportConfig {
pub enabled: bool,
pub bind: String,
pub auth: Option<AuthConfig>,
}Fields§
§enabled: bool§bind: String§auth: Option<AuthConfig>Trait Implementations§
Source§impl Clone for SocketTransportConfig
impl Clone for SocketTransportConfig
Source§fn clone(&self) -> SocketTransportConfig
fn clone(&self) -> SocketTransportConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SocketTransportConfig
impl Debug for SocketTransportConfig
Source§impl<'de> Deserialize<'de> for SocketTransportConfig
impl<'de> Deserialize<'de> for SocketTransportConfig
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 SocketTransportConfig
impl PartialEq for SocketTransportConfig
Source§fn eq(&self, other: &SocketTransportConfig) -> bool
fn eq(&self, other: &SocketTransportConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SocketTransportConfig
impl Serialize for SocketTransportConfig
impl StructuralPartialEq for SocketTransportConfig
Auto Trait Implementations§
impl Freeze for SocketTransportConfig
impl RefUnwindSafe for SocketTransportConfig
impl Send for SocketTransportConfig
impl Sync for SocketTransportConfig
impl Unpin for SocketTransportConfig
impl UnsafeUnpin for SocketTransportConfig
impl UnwindSafe for SocketTransportConfig
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