Struct nmstate::LldpMaxFrameSize
source · #[non_exhaustive]pub struct LldpMaxFrameSize(pub u32);
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: u32
Trait Implementations
sourceimpl Clone for LldpMaxFrameSize
impl Clone for LldpMaxFrameSize
sourcefn clone(&self) -> LldpMaxFrameSize
fn clone(&self) -> LldpMaxFrameSize
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 moresourceimpl Debug for LldpMaxFrameSize
impl Debug for LldpMaxFrameSize
sourceimpl Default for LldpMaxFrameSize
impl Default for LldpMaxFrameSize
sourcefn default() -> LldpMaxFrameSize
fn default() -> LldpMaxFrameSize
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LldpMaxFrameSize> for LldpMaxFrameSize
impl PartialEq<LldpMaxFrameSize> for LldpMaxFrameSize
sourcefn eq(&self, other: &LldpMaxFrameSize) -> bool
fn eq(&self, other: &LldpMaxFrameSize) -> bool
sourceimpl Serialize for LldpMaxFrameSize
impl Serialize for LldpMaxFrameSize
impl Eq for LldpMaxFrameSize
impl StructuralEq for LldpMaxFrameSize
impl StructuralPartialEq for LldpMaxFrameSize
Auto Trait Implementations
impl RefUnwindSafe for LldpMaxFrameSize
impl Send for LldpMaxFrameSize
impl Sync for LldpMaxFrameSize
impl Unpin for LldpMaxFrameSize
impl UnwindSafe for LldpMaxFrameSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
sourcefn null_value() -> T
fn null_value() -> T
The none-equivalent value.