Enum bgpkit_parser::models::AttributeCategory
source · pub enum AttributeCategory {
WellKnownMandatory,
WellKnownDiscretionary,
OptionalTransitive,
OptionalNonTransitive,
}
Expand description
Category of an attribute.
Variants§
Trait Implementations§
source§impl Clone for AttributeCategory
impl Clone for AttributeCategory
source§fn clone(&self) -> AttributeCategory
fn clone(&self) -> AttributeCategory
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 AttributeCategory
impl Debug for AttributeCategory
source§impl Hash for AttributeCategory
impl Hash for AttributeCategory
source§impl PartialEq for AttributeCategory
impl PartialEq for AttributeCategory
source§fn eq(&self, other: &AttributeCategory) -> bool
fn eq(&self, other: &AttributeCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttributeCategory
impl Eq for AttributeCategory
impl StructuralPartialEq for AttributeCategory
Auto Trait Implementations§
impl Freeze for AttributeCategory
impl RefUnwindSafe for AttributeCategory
impl Send for AttributeCategory
impl Sync for AttributeCategory
impl Unpin for AttributeCategory
impl UnwindSafe for AttributeCategory
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<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.