Struct LogFilter
pub struct LogFilter {
pub since_ts: Option<String>,
pub until_ts: Option<String>,
pub until_id: Option<String>,
pub until_line_offset: Option<u64>,
pub action: Option<String>,
pub category: Option<String>,
pub outcome: Option<String>,
pub severity_min: Option<u8>,
pub trace_id: Option<String>,
pub q: Option<String>,
pub hide_internal: bool,
pub field_eq: BTreeMap<String, String>,
}Fields§
§since_ts: Option<String>RFC 3339 lower bound (inclusive).
until_ts: Option<String>RFC 3339 upper bound (exclusive — used by pagination cursor).
until_id: Option<String>Match against the cursor’s id when until_ts ties.
until_line_offset: Option<u64>§action: Option<String>Match exact event.action (case-insensitive).
category: Option<String>Match exact event.category (case-insensitive).
outcome: Option<String>Match exact event.outcome (case-insensitive).
severity_min: Option<u8>Minimum severity_number.
trace_id: Option<String>Match exact trace_id.
q: Option<String>Substring search across message + attributes.
hide_internal: boolHide events with event.category == “internal” by default.
field_eq: BTreeMap<String, String>Per-attribution-field exact-match constraints. Key is any
zeroclaw.* attribution name. Empty map = no attribution filter.
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more