pub struct Query {
pub channel: Option<String>,
pub min_level: Option<LogLevel>,
pub from_timestamp: Option<u64>,
pub to_timestamp: Option<u64>,
pub contains: Option<String>,
pub fields: BTreeMap<String, String>,
pub limit: Option<usize>,
}Expand description
Filters supported by the initial search engine.
Fields§
§channel: Option<String>Exact channel match.
min_level: Option<LogLevel>Inclusive severity floor.
from_timestamp: Option<u64>Inclusive lower timestamp bound.
to_timestamp: Option<u64>Inclusive upper timestamp bound.
contains: Option<String>Case-insensitive substring for text messages.
fields: BTreeMap<String, String>Exact structured-field matches.
limit: Option<usize>Maximum number of results, in insertion order.
Trait Implementations§
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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