Struct netflow_parser::variable_versions::v9::OptionDataField
source · pub struct OptionDataField {
pub field_type: V9Field,
pub field_value: Vec<u8>,
}
Fields§
§field_type: V9Field
§field_value: Vec<u8>
Implementations§
source§impl<'nom> OptionDataField
impl<'nom> OptionDataField
Trait Implementations§
source§impl Clone for OptionDataField
impl Clone for OptionDataField
source§fn clone(&self) -> OptionDataField
fn clone(&self) -> OptionDataField
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 OptionDataField
impl Debug for OptionDataField
source§impl PartialEq for OptionDataField
impl PartialEq for OptionDataField
source§fn eq(&self, other: &OptionDataField) -> bool
fn eq(&self, other: &OptionDataField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OptionDataField
impl Serialize for OptionDataField
impl StructuralPartialEq for OptionDataField
Auto Trait Implementations§
impl Freeze for OptionDataField
impl RefUnwindSafe for OptionDataField
impl Send for OptionDataField
impl Sync for OptionDataField
impl Unpin for OptionDataField
impl UnwindSafe for OptionDataField
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