pub struct Message {
pub header: MessageHeader,
pub sets: Vec<Set>,
}Expand description
IPFIX Message - RFC 7011 Section 3
Fields§
§header: MessageHeaderMessage Header
sets: Vec<Set>Sets, in the order they appear in the Message
Implementations§
Source§impl Message
impl Message
Sourcepub fn data_records(&self) -> impl Iterator<Item = &DataRecord>
pub fn data_records(&self) -> impl Iterator<Item = &DataRecord>
Iterate over all decoded Data Records of the Message
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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