Struct mdns_sd::TxtProperty
source · pub struct TxtProperty { /* private fields */ }Expand description
Represents a property in a TXT record.
Implementations§
source§impl TxtProperty
impl TxtProperty
Trait Implementations§
source§impl Clone for TxtProperty
impl Clone for TxtProperty
source§fn clone(&self) -> TxtProperty
fn clone(&self) -> TxtProperty
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 TxtProperty
impl Debug for TxtProperty
source§impl<K, V> From<&(K, V)> for TxtPropertywhere
K: ToString,
V: ToString,
impl<K, V> From<&(K, V)> for TxtPropertywhere K: ToString, V: ToString,
Supports constructing from a tuple.
source§impl From<&str> for TxtProperty
impl From<&str> for TxtProperty
Support a property that has no value.
source§impl PartialEq<TxtProperty> for TxtProperty
impl PartialEq<TxtProperty> for TxtProperty
source§fn eq(&self, other: &TxtProperty) -> bool
fn eq(&self, other: &TxtProperty) -> bool
This method tests for
self and other values to be equal, and is used
by ==.