Struct bgpkit_parser::models::community::LargeCommunity
source · pub struct LargeCommunity {
pub global_admin: u32,
pub local_data: [u32; 2],
}
Expand description
Fields§
§global_admin: u32
§local_data: [u32; 2]
Implementations§
Trait Implementations§
source§impl Clone for LargeCommunity
impl Clone for LargeCommunity
source§fn clone(&self) -> LargeCommunity
fn clone(&self) -> LargeCommunity
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 LargeCommunity
impl Debug for LargeCommunity
source§impl Display for LargeCommunity
impl Display for LargeCommunity
source§impl PartialEq for LargeCommunity
impl PartialEq for LargeCommunity
source§fn eq(&self, other: &LargeCommunity) -> bool
fn eq(&self, other: &LargeCommunity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LargeCommunity
impl Eq for LargeCommunity
impl StructuralPartialEq for LargeCommunity
Auto Trait Implementations§
impl Freeze for LargeCommunity
impl RefUnwindSafe for LargeCommunity
impl Send for LargeCommunity
impl Sync for LargeCommunity
impl Unpin for LargeCommunity
impl UnwindSafe for LargeCommunity
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.