Struct dlt_core::filtering::ProcessedDltFilterConfig
source · pub struct ProcessedDltFilterConfig {
pub min_log_level: Option<LogLevel>,
pub app_ids: Option<HashSet<String>>,
pub ecu_ids: Option<HashSet<String>>,
pub context_ids: Option<HashSet<String>>,
pub app_id_count: i64,
pub context_id_count: i64,
}
Expand description
A processed version of the filter configuration that can be used to parse dlt.
When a DltFilterConfig
is received (e.g. as serialized json), this can easily
be converted into this processed version using filter_config.into()
Fields§
§min_log_level: Option<LogLevel>
§app_ids: Option<HashSet<String>>
§ecu_ids: Option<HashSet<String>>
§context_ids: Option<HashSet<String>>
§app_id_count: i64
§context_id_count: i64
Trait Implementations§
source§impl Clone for ProcessedDltFilterConfig
impl Clone for ProcessedDltFilterConfig
source§fn clone(&self) -> ProcessedDltFilterConfig
fn clone(&self) -> ProcessedDltFilterConfig
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 ProcessedDltFilterConfig
impl Debug for ProcessedDltFilterConfig
source§impl From<&DltFilterConfig> for ProcessedDltFilterConfig
impl From<&DltFilterConfig> for ProcessedDltFilterConfig
source§fn from(cfg: &DltFilterConfig) -> Self
fn from(cfg: &DltFilterConfig) -> Self
Converts to this type from the input type.
source§impl From<DltFilterConfig> for ProcessedDltFilterConfig
impl From<DltFilterConfig> for ProcessedDltFilterConfig
source§fn from(cfg: DltFilterConfig) -> Self
fn from(cfg: DltFilterConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ProcessedDltFilterConfig
impl Send for ProcessedDltFilterConfig
impl Sync for ProcessedDltFilterConfig
impl Unpin for ProcessedDltFilterConfig
impl UnwindSafe for ProcessedDltFilterConfig
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