pub struct ScanQuery {
pub window: TimeWindow,
pub project: Option<String>,
}Expand description
A filtered scan over the event store.
Fields§
§window: TimeWindowOnly events whose ts falls in this window are yielded.
project: Option<String>Optional exact-match project filter.
Implementations§
Source§impl ScanQuery
impl ScanQuery
pub fn new(window: TimeWindow) -> Self
pub fn with_project(self, project: Option<String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanQuery
impl RefUnwindSafe for ScanQuery
impl Send for ScanQuery
impl Sync for ScanQuery
impl Unpin for ScanQuery
impl UnsafeUnpin for ScanQuery
impl UnwindSafe for ScanQuery
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