Struct bgpkit_parser::models::OpaqueExtCommunity
source · pub struct OpaqueExtCommunity {
pub subtype: u8,
pub value: [u8; 6],
}
Expand description
Opaque Extended Community
Fields§
§subtype: u8
§value: [u8; 6]
Trait Implementations§
source§impl Clone for OpaqueExtCommunity
impl Clone for OpaqueExtCommunity
source§fn clone(&self) -> OpaqueExtCommunity
fn clone(&self) -> OpaqueExtCommunity
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 OpaqueExtCommunity
impl Debug for OpaqueExtCommunity
source§impl PartialEq for OpaqueExtCommunity
impl PartialEq for OpaqueExtCommunity
source§fn eq(&self, other: &OpaqueExtCommunity) -> bool
fn eq(&self, other: &OpaqueExtCommunity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OpaqueExtCommunity
impl Eq for OpaqueExtCommunity
impl StructuralPartialEq for OpaqueExtCommunity
Auto Trait Implementations§
impl Freeze for OpaqueExtCommunity
impl RefUnwindSafe for OpaqueExtCommunity
impl Send for OpaqueExtCommunity
impl Sync for OpaqueExtCommunity
impl Unpin for OpaqueExtCommunity
impl UnwindSafe for OpaqueExtCommunity
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.