Enum bgpkit_parser::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 ==
.source§impl Serialize for MetaCommunity
impl Serialize for MetaCommunity
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for MetaCommunity
impl Eq for MetaCommunity
impl StructuralEq for MetaCommunity
impl StructuralPartialEq for MetaCommunity
Auto Trait Implementations§
impl RefUnwindSafe for MetaCommunity
impl Send for MetaCommunity
impl Sync for MetaCommunity
impl Unpin for MetaCommunity
impl UnwindSafe for MetaCommunity
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.