Struct dittolive_ditto::transport::TcpListenConfig
source · pub struct TcpListenConfig {
pub enabled: bool,
pub interface_ip: String,
pub port: u16,
}
Fields§
§enabled: bool
§interface_ip: String
§port: u16
Implementations§
Trait Implementations§
source§impl Clone for TcpListenConfig
impl Clone for TcpListenConfig
source§fn clone(&self) -> TcpListenConfig
fn clone(&self) -> TcpListenConfig
Returns a copy 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 TcpListenConfig
impl Debug for TcpListenConfig
source§impl Default for TcpListenConfig
impl Default for TcpListenConfig
source§fn default() -> TcpListenConfig
fn default() -> TcpListenConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TcpListenConfig
impl<'de> Deserialize<'de> for TcpListenConfig
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 TcpListenConfig
impl PartialEq for TcpListenConfig
source§fn eq(&self, other: &TcpListenConfig) -> bool
fn eq(&self, other: &TcpListenConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TcpListenConfig
impl Serialize for TcpListenConfig
impl Eq for TcpListenConfig
impl StructuralPartialEq for TcpListenConfig
Auto Trait Implementations§
impl Freeze for TcpListenConfig
impl RefUnwindSafe for TcpListenConfig
impl Send for TcpListenConfig
impl Sync for TcpListenConfig
impl Unpin for TcpListenConfig
impl UnwindSafe for TcpListenConfig
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