pub struct LargeCommunity {
pub global_admin: u32,
pub local_data1: u32,
pub local_data2: u32,
}Expand description
RFC 8092 Large Community — 12-byte value: (global_admin, local_data1, local_data2).
Each field is a 32-bit unsigned integer. Display format: "65001:100:200".
Fields§
§global_admin: u32Global administrator (typically ASN).
local_data1: u32First local data part.
local_data2: u32Second local data part.
Implementations§
Trait Implementations§
Source§impl Clone for LargeCommunity
impl Clone for LargeCommunity
Source§fn clone(&self) -> LargeCommunity
fn clone(&self) -> LargeCommunity
Returns a duplicate 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 Hash for LargeCommunity
impl Hash for LargeCommunity
Source§impl PartialEq for LargeCommunity
impl PartialEq for LargeCommunity
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 UnsafeUnpin 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