Enum bgp_models::bgp::community::MetaCommunity
source · pub enum MetaCommunity {
Community(Community),
ExtendedCommunity(ExtendedCommunity),
LargeCommunity(LargeCommunity),
}Variants§
Trait Implementations§
source§impl Clone for MetaCommunity
impl Clone for MetaCommunity
source§fn clone(&self) -> MetaCommunity
fn clone(&self) -> MetaCommunity
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 MetaCommunity
impl Debug for MetaCommunity
source§impl Display for MetaCommunity
impl Display for MetaCommunity
source§impl PartialEq<MetaCommunity> for MetaCommunity
impl PartialEq<MetaCommunity> for MetaCommunity
source§fn eq(&self, other: &MetaCommunity) -> bool
fn eq(&self, other: &MetaCommunity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.