Enum bgpkit_parser::models::MetaCommunity
source · pub enum MetaCommunity {
Plain(Community),
Extended(ExtendedCommunity),
Ipv6Extended(Ipv6AddrExtCommunity),
Large(LargeCommunity),
}
Variants§
Plain(Community)
Extended(ExtendedCommunity)
Ipv6Extended(Ipv6AddrExtCommunity)
Large(LargeCommunity)
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 for MetaCommunity
impl PartialEq 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 ==
.impl Copy for MetaCommunity
impl Eq for MetaCommunity
impl StructuralPartialEq for MetaCommunity
Auto Trait Implementations§
impl Freeze for MetaCommunity
impl RefUnwindSafe for MetaCommunity
impl Send for MetaCommunity
impl Sync for MetaCommunity
impl Unpin for MetaCommunity
impl UnwindSafe for MetaCommunity
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.