Struct bgpkit_parser::parser::bmp::messages::PeerUpNotification
source · pub struct PeerUpNotification {
pub local_addr: IpAddr,
pub local_port: u16,
pub remote_port: u16,
pub sent_open: BgpMessage,
pub received_open: BgpMessage,
pub tlvs: Vec<PeerUpNotificationTlv>,
}
Fields§
§local_addr: IpAddr
§local_port: u16
§remote_port: u16
§sent_open: BgpMessage
§received_open: BgpMessage
§tlvs: Vec<PeerUpNotificationTlv>
Trait Implementations§
source§impl Clone for PeerUpNotification
impl Clone for PeerUpNotification
source§fn clone(&self) -> PeerUpNotification
fn clone(&self) -> PeerUpNotification
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 PeerUpNotification
impl Debug for PeerUpNotification
source§impl PartialEq for PeerUpNotification
impl PartialEq for PeerUpNotification
source§fn eq(&self, other: &PeerUpNotification) -> bool
fn eq(&self, other: &PeerUpNotification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PeerUpNotification
Auto Trait Implementations§
impl Freeze for PeerUpNotification
impl RefUnwindSafe for PeerUpNotification
impl Send for PeerUpNotification
impl Sync for PeerUpNotification
impl Unpin for PeerUpNotification
impl UnwindSafe for PeerUpNotification
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