Struct bgpkit_parser::BgpUpdateMessage
source · pub struct BgpUpdateMessage {
pub withdrawn_prefixes: Vec<NetworkPrefix, Global>,
pub attributes: Vec<Attribute, Global>,
pub announced_prefixes: Vec<NetworkPrefix, Global>,
}
Fields§
§withdrawn_prefixes: Vec<NetworkPrefix, Global>
§attributes: Vec<Attribute, Global>
§announced_prefixes: Vec<NetworkPrefix, Global>
Trait Implementations§
source§impl Clone for BgpUpdateMessage
impl Clone for BgpUpdateMessage
source§fn clone(&self) -> BgpUpdateMessage
fn clone(&self) -> BgpUpdateMessage
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 BgpUpdateMessage
impl Debug for BgpUpdateMessage
source§impl PartialEq<BgpUpdateMessage> for BgpUpdateMessage
impl PartialEq<BgpUpdateMessage> for BgpUpdateMessage
source§fn eq(&self, other: &BgpUpdateMessage) -> bool
fn eq(&self, other: &BgpUpdateMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BgpUpdateMessage
impl Serialize for BgpUpdateMessage
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 Eq for BgpUpdateMessage
impl StructuralEq for BgpUpdateMessage
impl StructuralPartialEq for BgpUpdateMessage
Auto Trait Implementations§
impl RefUnwindSafe for BgpUpdateMessage
impl Send for BgpUpdateMessage
impl Sync for BgpUpdateMessage
impl Unpin for BgpUpdateMessage
impl UnwindSafe for BgpUpdateMessage
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.