Struct nmstate::LldpSystemDescription
source · pub struct LldpSystemDescription(pub String);Tuple Fields§
§0: StringTrait Implementations§
source§impl Clone for LldpSystemDescription
impl Clone for LldpSystemDescription
source§fn clone(&self) -> LldpSystemDescription
fn clone(&self) -> LldpSystemDescription
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 LldpSystemDescription
impl Debug for LldpSystemDescription
source§impl Default for LldpSystemDescription
impl Default for LldpSystemDescription
source§fn default() -> LldpSystemDescription
fn default() -> LldpSystemDescription
Returns the “default value” for a type. Read more
source§impl PartialEq<LldpSystemDescription> for LldpSystemDescription
impl PartialEq<LldpSystemDescription> for LldpSystemDescription
source§fn eq(&self, other: &LldpSystemDescription) -> bool
fn eq(&self, other: &LldpSystemDescription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LldpSystemDescription
impl Serialize for LldpSystemDescription
impl Eq for LldpSystemDescription
impl StructuralEq for LldpSystemDescription
impl StructuralPartialEq for LldpSystemDescription
Auto Trait Implementations§
impl RefUnwindSafe for LldpSystemDescription
impl Send for LldpSystemDescription
impl Sync for LldpSystemDescription
impl Unpin for LldpSystemDescription
impl UnwindSafe for LldpSystemDescription
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.