Struct netflow_parser::variable_versions::v9::OptionsData
source · pub struct OptionsData {
pub scope_fields: Vec<ScopeDataField>,
pub options_fields: Vec<OptionDataField>,
/* private fields */
}Fields§
§scope_fields: Vec<ScopeDataField>§options_fields: Vec<OptionDataField>Implementations§
source§impl<'nom> OptionsData
impl<'nom> OptionsData
pub fn parse_be( orig_i: &'nom [u8], parser: &mut V9Parser, flow_set_id: u16, flowset_length: u16 ) -> IResult<&'nom [u8], Self>
pub fn parse_le( orig_i: &'nom [u8], parser: &mut V9Parser, flow_set_id: u16, flowset_length: u16 ) -> IResult<&'nom [u8], Self>
pub fn parse( orig_i: &'nom [u8], parser: &mut V9Parser, flow_set_id: u16, flowset_length: u16 ) -> IResult<&'nom [u8], Self>
Trait Implementations§
source§impl Clone for OptionsData
impl Clone for OptionsData
source§fn clone(&self) -> OptionsData
fn clone(&self) -> OptionsData
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 OptionsData
impl Debug for OptionsData
source§impl PartialEq for OptionsData
impl PartialEq for OptionsData
source§fn eq(&self, other: &OptionsData) -> bool
fn eq(&self, other: &OptionsData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for OptionsData
impl Serialize for OptionsData
impl StructuralPartialEq for OptionsData
Auto Trait Implementations§
impl Freeze for OptionsData
impl RefUnwindSafe for OptionsData
impl Send for OptionsData
impl Sync for OptionsData
impl Unpin for OptionsData
impl UnwindSafe for OptionsData
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