pub struct TableDumpV2Entry {
pub timestamp: f64,
pub rib_type: TableDumpV2Type,
pub sequence_number: u32,
pub prefix: NetworkPrefix,
pub rib_entries: Vec<RibEntry>,
}Expand description
A TableDumpV2 RIB entry with associated metadata.
This struct represents a single prefix with all its RIB entries from different peers. Each RIB entry contains the peer information and attributes for that prefix.
Fields§
§timestamp: f64The timestamp from the MRT header.
rib_type: TableDumpV2TypeThe RIB subtype (IPv4 Unicast, IPv6 Unicast, etc.)
sequence_number: u32The sequence number of this RIB entry.
prefix: NetworkPrefixThe network prefix for this RIB entry.
rib_entries: Vec<RibEntry>The RIB entries for this prefix, one per peer. Each entry contains peer_index, originated_time, and attributes.
Trait Implementations§
Source§impl Clone for TableDumpV2Entry
impl Clone for TableDumpV2Entry
Source§fn clone(&self) -> TableDumpV2Entry
fn clone(&self) -> TableDumpV2Entry
Returns a duplicate 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 TableDumpV2Entry
impl Debug for TableDumpV2Entry
Source§impl PartialEq for TableDumpV2Entry
impl PartialEq for TableDumpV2Entry
impl StructuralPartialEq for TableDumpV2Entry
Auto Trait Implementations§
impl Freeze for TableDumpV2Entry
impl RefUnwindSafe for TableDumpV2Entry
impl Send for TableDumpV2Entry
impl Sync for TableDumpV2Entry
impl Unpin for TableDumpV2Entry
impl UnwindSafe for TableDumpV2Entry
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more