pub struct SourceConfig { /* private fields */ }Expand description
Configuration for a single IPFIX Flow IE entities definition Could be the main IANA registry or a vendor specific source
Implementations§
source§impl SourceConfig
impl SourceConfig
pub const fn new( source: RegistrySource, registry_type: RegistryType, pen: u32, mod_name: String, name: String ) -> Self
pub const fn source(&self) -> &RegistrySource
pub const fn registry_type(&self) -> &RegistryType
pub const fn pen(&self) -> u32
pub const fn mod_name(&self) -> &String
pub const fn name(&self) -> &String
Trait Implementations§
source§impl Clone for SourceConfig
impl Clone for SourceConfig
source§fn clone(&self) -> SourceConfig
fn clone(&self) -> SourceConfig
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 SourceConfig
impl Debug for SourceConfig
source§impl<'de> Deserialize<'de> for SourceConfig
impl<'de> Deserialize<'de> for SourceConfig
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