#[repr(u8)]pub enum LldpChassisIdType {
Reserved = 0,
ChassisComponent = 1,
InterfaceAlias = 2,
PortComponent = 3,
MacAddress = 4,
NetworkAddress = 5,
InterfaceName = 6,
LocallyAssigned = 7,
}Variants§
Reserved = 0
ChassisComponent = 1
InterfaceAlias = 2
PortComponent = 3
MacAddress = 4
NetworkAddress = 5
InterfaceName = 6
LocallyAssigned = 7
Trait Implementations§
Source§impl Clone for LldpChassisIdType
impl Clone for LldpChassisIdType
Source§fn clone(&self) -> LldpChassisIdType
fn clone(&self) -> LldpChassisIdType
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 LldpChassisIdType
impl Debug for LldpChassisIdType
Source§impl Default for LldpChassisIdType
impl Default for LldpChassisIdType
Source§fn default() -> LldpChassisIdType
fn default() -> LldpChassisIdType
Returns the “default value” for a type. Read more
Source§impl From<LldpChassisIdType> for String
impl From<LldpChassisIdType> for String
Source§fn from(v: LldpChassisIdType) -> String
fn from(v: LldpChassisIdType) -> String
Converts to this type from the input type.
Source§impl From<LldpChassisIdType> for u8
impl From<LldpChassisIdType> for u8
Source§fn from(value: LldpChassisIdType) -> Self
fn from(value: LldpChassisIdType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for LldpChassisIdType
impl From<u8> for LldpChassisIdType
Source§fn from(v: u8) -> LldpChassisIdType
fn from(v: u8) -> LldpChassisIdType
Converts to this type from the input type.
Source§impl PartialEq for LldpChassisIdType
impl PartialEq for LldpChassisIdType
Source§impl Serialize for LldpChassisIdType
impl Serialize for LldpChassisIdType
impl Eq for LldpChassisIdType
impl StructuralPartialEq for LldpChassisIdType
Auto Trait Implementations§
impl Freeze for LldpChassisIdType
impl RefUnwindSafe for LldpChassisIdType
impl Send for LldpChassisIdType
impl Sync for LldpChassisIdType
impl Unpin for LldpChassisIdType
impl UnwindSafe for LldpChassisIdType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.