Struct bgpkit_parser::parser::bmp::messages::PeerDownNotification
source · pub struct PeerDownNotification {
pub reason: PeerDownReason,
pub data: Option<Vec<u8>>,
}
Fields§
§reason: PeerDownReason
§data: Option<Vec<u8>>
Trait Implementations§
source§impl Clone for PeerDownNotification
impl Clone for PeerDownNotification
source§fn clone(&self) -> PeerDownNotification
fn clone(&self) -> PeerDownNotification
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 PeerDownNotification
impl Debug for PeerDownNotification
source§impl PartialEq for PeerDownNotification
impl PartialEq for PeerDownNotification
source§fn eq(&self, other: &PeerDownNotification) -> bool
fn eq(&self, other: &PeerDownNotification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PeerDownNotification
Auto Trait Implementations§
impl Freeze for PeerDownNotification
impl RefUnwindSafe for PeerDownNotification
impl Send for PeerDownNotification
impl Sync for PeerDownNotification
impl Unpin for PeerDownNotification
impl UnwindSafe for PeerDownNotification
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