Enum nmstate::LldpPortIdType
source · pub enum LldpPortIdType {
Reserved,
InterfaceAlias,
PortComponent,
MacAddress,
NetworkAddress,
InterfaceName,
AgentCircuitId,
LocallyAssigned,
}Variants§
Reserved
InterfaceAlias
PortComponent
MacAddress
NetworkAddress
InterfaceName
AgentCircuitId
LocallyAssigned
Trait Implementations§
source§impl Clone for LldpPortIdType
impl Clone for LldpPortIdType
source§fn clone(&self) -> LldpPortIdType
fn clone(&self) -> LldpPortIdType
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 LldpPortIdType
impl Debug for LldpPortIdType
source§impl Default for LldpPortIdType
impl Default for LldpPortIdType
source§impl From<LldpPortIdType> for u8
impl From<LldpPortIdType> for u8
source§fn from(v: LldpPortIdType) -> u8
fn from(v: LldpPortIdType) -> u8
Converts to this type from the input type.
source§impl From<u8> for LldpPortIdType
impl From<u8> for LldpPortIdType
source§impl PartialEq for LldpPortIdType
impl PartialEq for LldpPortIdType
source§fn eq(&self, other: &LldpPortIdType) -> bool
fn eq(&self, other: &LldpPortIdType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LldpPortIdType
impl Serialize for LldpPortIdType
impl Copy for LldpPortIdType
impl Eq for LldpPortIdType
impl StructuralEq for LldpPortIdType
impl StructuralPartialEq for LldpPortIdType
Auto Trait Implementations§
impl RefUnwindSafe for LldpPortIdType
impl Send for LldpPortIdType
impl Sync for LldpPortIdType
impl Unpin for LldpPortIdType
impl UnwindSafe for LldpPortIdType
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.