Struct sflow::Community
[−]
[src]
pub struct Community { pub asn: u32, pub tag: u16, }
Community represents a BGP community. While normally a community is a u32 with the first half being the asn, and the second half being a tag or value, in this case we are storing the asn as a u32 in order to support extended asns.
Fields
asn: u32
tag: u16
Trait Implementations
impl Debug for Community
[src]
impl Copy for Community
[src]
impl Clone for Community
[src]
fn clone(&self) -> Community
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more