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 duplicate 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
Mimic the default debug output for a struct, with a twist:
impl Debug for TxtProperty
Mimic the default debug output for a struct, with a twist:
- If self.var is UTF-8, will output it as a string in double quotes.
- If self.var is not UTF-8, will output its bytes as in hex.
Source§impl Display for TxtProperty
impl Display for TxtProperty
Source§impl<K, V> From<&(K, V)> for TxtProperty
Supports constructing from a tuple.
impl<K, V> From<&(K, V)> for TxtProperty
Supports constructing from a tuple.
Source§impl From<&str> for TxtProperty
Support a property that has no value.
impl From<&str> for TxtProperty
Support a property that has no value.
Source§impl<K, V> From<(K, V)> for TxtProperty
impl<K, V> From<(K, V)> for TxtProperty
Source§impl PartialEq for TxtProperty
impl PartialEq for TxtProperty
impl Eq for TxtProperty
impl StructuralPartialEq for TxtProperty
Auto Trait Implementations§
impl Freeze for TxtProperty
impl RefUnwindSafe for TxtProperty
impl Send for TxtProperty
impl Sync for TxtProperty
impl Unpin for TxtProperty
impl UnwindSafe for TxtProperty
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