Struct bgp_models::bgp::BgpNotificationMessage
source · pub struct BgpNotificationMessage {
pub error_code: u8,
pub error_subcode: u8,
pub error_type: Option<BgpError>,
pub data: Vec<u8>,
}Fields§
§error_code: u8§error_subcode: u8§error_type: Option<BgpError>§data: Vec<u8>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<BgpNotificationMessage> for BgpNotificationMessage
impl PartialEq<BgpNotificationMessage> 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 ==.