Struct bgp_models::bgp::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 ==.