pub struct FlowSample {
pub sequence_number: u32,
pub source_id_type: u32,
pub source_id_index: u32,
pub sampling_rate: u32,
pub sample_pool: u32,
pub drops: u32,
pub input: u32,
pub output: u32,
pub records: Vec<FlowRecord>,
}Fields§
§sequence_number: u32§source_id_type: u32§source_id_index: u32§sampling_rate: u32§sample_pool: u32§drops: u32§input: u32§output: u32§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<'de> Deserialize<'de> for FlowSample
impl<'de> Deserialize<'de> for FlowSample
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 FlowSample
impl PartialEq for FlowSample
Source§impl Serialize for FlowSample
impl Serialize 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 UnsafeUnpin 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