Struct bgpkit_parser::community::FourOctetAsSpecific
source · pub struct FourOctetAsSpecific {
pub ec_type: u8,
pub ec_subtype: u8,
pub global_administrator: Asn,
pub local_administrator: [u8; 2],
}
Expand description
Four-Octet AS Specific Extended Community
Fields§
§ec_type: u8
§ec_subtype: u8
§global_administrator: Asn
§local_administrator: [u8; 2]
Trait Implementations§
source§impl Clone for FourOctetAsSpecific
impl Clone for FourOctetAsSpecific
source§fn clone(&self) -> FourOctetAsSpecific
fn clone(&self) -> FourOctetAsSpecific
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 FourOctetAsSpecific
impl Debug for FourOctetAsSpecific
source§impl PartialEq<FourOctetAsSpecific> for FourOctetAsSpecific
impl PartialEq<FourOctetAsSpecific> for FourOctetAsSpecific
source§fn eq(&self, other: &FourOctetAsSpecific) -> bool
fn eq(&self, other: &FourOctetAsSpecific) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FourOctetAsSpecific
impl Eq for FourOctetAsSpecific
impl StructuralEq for FourOctetAsSpecific
impl StructuralPartialEq for FourOctetAsSpecific
Auto Trait Implementations§
impl RefUnwindSafe for FourOctetAsSpecific
impl Send for FourOctetAsSpecific
impl Sync for FourOctetAsSpecific
impl Unpin for FourOctetAsSpecific
impl UnwindSafe for FourOctetAsSpecific
Blanket Implementations§
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.