Struct bgp_models::bgp::BgpUpdateMessage
source · pub struct BgpUpdateMessage {
pub withdrawn_prefixes: Vec<NetworkPrefix>,
pub attributes: Vec<Attribute>,
pub announced_prefixes: Vec<NetworkPrefix>,
}Fields§
§withdrawn_prefixes: Vec<NetworkPrefix>§attributes: Vec<Attribute>§announced_prefixes: Vec<NetworkPrefix>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 ==.