Struct nmstate::LldpSystemCapabilities
source · [−]#[non_exhaustive]pub struct LldpSystemCapabilities(pub u16);Tuple Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u16Trait Implementations
sourceimpl Clone for LldpSystemCapabilities
impl Clone for LldpSystemCapabilities
sourcefn clone(&self) -> LldpSystemCapabilities
fn clone(&self) -> LldpSystemCapabilities
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LldpSystemCapabilities
impl Debug for LldpSystemCapabilities
sourceimpl Default for LldpSystemCapabilities
impl Default for LldpSystemCapabilities
sourcefn default() -> LldpSystemCapabilities
fn default() -> LldpSystemCapabilities
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LldpSystemCapabilities> for LldpSystemCapabilities
impl PartialEq<LldpSystemCapabilities> for LldpSystemCapabilities
sourcefn eq(&self, other: &LldpSystemCapabilities) -> bool
fn eq(&self, other: &LldpSystemCapabilities) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LldpSystemCapabilities) -> bool
fn ne(&self, other: &LldpSystemCapabilities) -> bool
This method tests for !=.
sourceimpl Serialize for LldpSystemCapabilities
impl Serialize for LldpSystemCapabilities
impl Eq for LldpSystemCapabilities
impl StructuralEq for LldpSystemCapabilities
impl StructuralPartialEq for LldpSystemCapabilities
Auto Trait Implementations
impl RefUnwindSafe for LldpSystemCapabilities
impl Send for LldpSystemCapabilities
impl Sync for LldpSystemCapabilities
impl Unpin for LldpSystemCapabilities
impl UnwindSafe for LldpSystemCapabilities
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> NoneValue for T where
T: Default,
impl<T> NoneValue for T where
T: Default,
type NoneType = T
sourcefn null_value() -> T
fn null_value() -> T
The none-equivalent value.