Struct bgpkit_parser::models::BgpNotificationMessage
source · pub struct BgpNotificationMessage {
pub error: BgpError,
pub data: Vec<u8>,
}
Fields§
§error: BgpError
§data: Vec<u8>
Implementations§
Trait Implementations§
source§impl Clone for BgpNotificationMessage
impl Clone for BgpNotificationMessage
source§fn clone(&self) -> BgpNotificationMessage
fn clone(&self) -> BgpNotificationMessage
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 BgpNotificationMessage
impl Debug for BgpNotificationMessage
source§impl PartialEq for BgpNotificationMessage
impl PartialEq for BgpNotificationMessage
source§fn eq(&self, other: &BgpNotificationMessage) -> bool
fn eq(&self, other: &BgpNotificationMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BgpNotificationMessage
impl StructuralPartialEq for BgpNotificationMessage
Auto Trait Implementations§
impl Freeze for BgpNotificationMessage
impl RefUnwindSafe for BgpNotificationMessage
impl Send for BgpNotificationMessage
impl Sync for BgpNotificationMessage
impl Unpin for BgpNotificationMessage
impl UnwindSafe for BgpNotificationMessage
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.