pub struct LogFilter {
pub action: FilterAction,
pub filters: Vec<(String, Regex)>,
pub color: Option<(u8, u8, u8)>,
}Expand description
Struct with cached vector of log_line keys with their associated regex
Fields
action: FilterActionfilters: Vec<(String, Regex)>List of (log_line_key, regex)
color: Option<(u8, u8, u8)>Color - if any
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LogFilter
impl Send for LogFilter
impl Sync for LogFilter
impl Unpin for LogFilter
impl UnwindSafe for LogFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more