pub struct RisMessageData {
pub timestamp: Option<f64>,
pub peer: Option<String>,
pub peer_asn: Option<String>,
pub id: Option<String>,
pub host: Option<String>,
pub msg_type: Option<String>,
pub path: Option<Vec<AsPathSegment>>,
pub origin: Option<String>,
pub community: Option<Vec<Vec<i64>>>,
pub announcements: Option<Vec<Announcement>>,
pub withdrawals: Option<Vec<String>>,
pub state: Option<String>,
}Expand description
Parsed ris_message payload data.
Fields§
§timestamp: Option<f64>§peer: Option<String>§peer_asn: Option<String>§id: Option<String>§host: Option<String>§msg_type: Option<String>§path: Option<Vec<AsPathSegment>>§origin: Option<String>§community: Option<Vec<Vec<i64>>>§announcements: Option<Vec<Announcement>>§withdrawals: Option<Vec<String>>§state: Option<String>Trait Implementations§
Source§impl Clone for RisMessageData
impl Clone for RisMessageData
Source§fn clone(&self) -> RisMessageData
fn clone(&self) -> RisMessageData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RisMessageData
impl Debug for RisMessageData
Source§impl<'de> Deserialize<'de> for RisMessageData
impl<'de> Deserialize<'de> for RisMessageData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RisMessageData
impl PartialEq for RisMessageData
Source§fn eq(&self, other: &RisMessageData) -> bool
fn eq(&self, other: &RisMessageData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RisMessageData
impl Serialize for RisMessageData
impl StructuralPartialEq for RisMessageData
Auto Trait Implementations§
impl Freeze for RisMessageData
impl RefUnwindSafe for RisMessageData
impl Send for RisMessageData
impl Sync for RisMessageData
impl Unpin for RisMessageData
impl UnsafeUnpin for RisMessageData
impl UnwindSafe for RisMessageData
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