pub struct Filter<'a> {
pub target: &'a str,
pub span: Option<SpanFilters<'a>>,
pub level: Option<&'a str>,
}
Expand description
A single event filter, target[span{field=value}]=level
.
Span directives are not parsed/validated until pulled.
Fields§
§target: &'a str
§span: Option<SpanFilters<'a>>
§level: Option<&'a str>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Filter<'a>
impl<'a> RefUnwindSafe for Filter<'a>
impl<'a> Send for Filter<'a>
impl<'a> Sync for Filter<'a>
impl<'a> Unpin for Filter<'a>
impl<'a> UnwindSafe for Filter<'a>
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