pub struct FlowSample {
pub sequence_number: u32,
pub sflow_data_source: u32,
pub sampling_rate: u32,
pub sample_pool: u32,
pub drops: u32,
pub input_id: u32,
pub output_id: u32,
pub flow_records: Vec<FlowRecord>,
}
Fields§
§sequence_number: u32
§sflow_data_source: u32
§sampling_rate: u32
§sample_pool: u32
§drops: u32
§input_id: u32
§output_id: u32
§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 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 FlowSample
impl Debug for FlowSample
Source§impl Decodeable for FlowSample
impl Decodeable for FlowSample
fn read_and_decode(stream: &mut dyn ReadSeeker) -> Result<FlowSample, Error>
Source§impl Default for FlowSample
impl Default for FlowSample
Source§fn default() -> FlowSample
fn default() -> FlowSample
Returns the “default value” for a type. Read more
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