pub struct FlowSample {
pub sequence_number: u32,
pub source_id: DataSource,
pub sampling_rate: u32,
pub sample_pool: u32,
pub drops: u32,
pub input: Interface,
pub output: Interface,
pub flow_records: Vec<FlowRecord>,
}Expand description
Compact flow sample (enterprise=0, format=1)
Fields§
§sequence_number: u32§source_id: DataSource§sampling_rate: u32§sample_pool: u32§drops: u32§input: Interface§output: Interface§flow_records: Vec<FlowRecord>Trait Implementations§
Source§impl Clone for FlowSample
impl Clone for FlowSample
Source§fn clone(&self) -> FlowSample
fn clone(&self) -> FlowSample
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 FlowSample
impl Debug for FlowSample
Source§impl PartialEq for FlowSample
impl PartialEq for FlowSample
impl Eq for FlowSample
impl StructuralPartialEq for FlowSample
Auto Trait Implementations§
impl Freeze for FlowSample
impl RefUnwindSafe for FlowSample
impl Send for FlowSample
impl Sync for FlowSample
impl Unpin for FlowSample
impl UnwindSafe for FlowSample
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