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: FilterAction§filters: Vec<(String, Regex)>List of (log_line_key, regex)
color: Option<(u8, u8, u8)>Color - if any
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogFilter
impl RefUnwindSafe for LogFilter
impl Send for LogFilter
impl Sync for LogFilter
impl Unpin for LogFilter
impl UnwindSafe for LogFilter
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