pub struct MdnsConfig {
pub mode: Option<String>,
}Fields§
§mode: Option<String>Trait Implementations§
Source§impl Clone for MdnsConfig
impl Clone for MdnsConfig
Source§fn clone(&self) -> MdnsConfig
fn clone(&self) -> MdnsConfig
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 MdnsConfig
impl Debug for MdnsConfig
Source§impl Default for MdnsConfig
impl Default for MdnsConfig
Source§fn default() -> MdnsConfig
fn default() -> MdnsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MdnsConfigwhere
MdnsConfig: Default,
impl<'de> Deserialize<'de> for MdnsConfigwhere
MdnsConfig: Default,
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 MdnsConfig
impl PartialEq for MdnsConfig
Source§fn eq(&self, other: &MdnsConfig) -> bool
fn eq(&self, other: &MdnsConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MdnsConfig
impl Serialize for MdnsConfig
impl StructuralPartialEq for MdnsConfig
Auto Trait Implementations§
impl Freeze for MdnsConfig
impl RefUnwindSafe for MdnsConfig
impl Send for MdnsConfig
impl Sync for MdnsConfig
impl Unpin for MdnsConfig
impl UnsafeUnpin for MdnsConfig
impl UnwindSafe for MdnsConfig
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