Struct nmstate::LldpChassisId
source · #[non_exhaustive]pub struct LldpChassisId {
pub id: String,
pub id_type: LldpChassisIdType,
}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.id: Stringid_type: LldpChassisIdTypeTrait Implementations
sourceimpl Clone for LldpChassisId
impl Clone for LldpChassisId
sourcefn clone(&self) -> LldpChassisId
fn clone(&self) -> LldpChassisId
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 LldpChassisId
impl Debug for LldpChassisId
sourceimpl Default for LldpChassisId
impl Default for LldpChassisId
sourcefn default() -> LldpChassisId
fn default() -> LldpChassisId
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LldpChassisId> for LldpChassisId
impl PartialEq<LldpChassisId> for LldpChassisId
sourcefn eq(&self, other: &LldpChassisId) -> bool
fn eq(&self, other: &LldpChassisId) -> bool
sourceimpl Serialize for LldpChassisId
impl Serialize for LldpChassisId
impl Eq for LldpChassisId
impl StructuralEq for LldpChassisId
impl StructuralPartialEq for LldpChassisId
Auto Trait Implementations
impl RefUnwindSafe for LldpChassisId
impl Send for LldpChassisId
impl Sync for LldpChassisId
impl Unpin for LldpChassisId
impl UnwindSafe for LldpChassisId
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.