pub struct LineFilter {
pub op: LineFilterOp,
pub value: String,
pub is_ip: bool,
}Expand description
A line filter: an operator, a match value, and whether the value is
an ip("...") matcher rather than a literal/regex.
Fields§
§op: LineFilterOp§value: String§is_ip: booltrue for |= ip("..."), matching the line’s IP addresses.
Trait Implementations§
Source§impl Clone for LineFilter
impl Clone for LineFilter
Source§impl Debug for LineFilter
impl Debug for LineFilter
Source§impl PartialEq for LineFilter
impl PartialEq for LineFilter
impl StructuralPartialEq for LineFilter
Auto Trait Implementations§
impl Freeze for LineFilter
impl RefUnwindSafe for LineFilter
impl Send for LineFilter
impl Sync for LineFilter
impl Unpin for LineFilter
impl UnsafeUnpin for LineFilter
impl UnwindSafe for LineFilter
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