pub struct IngestOptions {
pub window: TimeWindow,
pub project: Option<String>,
}Expand description
Scope for one ingest run. The window narrows which files are opened; it never drops events from a file that is read, because the store is supposed to be complete for every period it covers.
Fields§
§window: TimeWindowOnly consider source files modified within this window.
project: Option<String>Only store events for this project. Because this does drop events, a run with a project filter deliberately writes no cursors — a cursor must only ever mean “this file is fully ingested”.
Trait Implementations§
Source§impl Clone for IngestOptions
impl Clone for IngestOptions
Source§fn clone(&self) -> IngestOptions
fn clone(&self) -> IngestOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IngestOptions
impl Debug for IngestOptions
Auto Trait Implementations§
impl Freeze for IngestOptions
impl RefUnwindSafe for IngestOptions
impl Send for IngestOptions
impl Sync for IngestOptions
impl Unpin for IngestOptions
impl UnsafeUnpin for IngestOptions
impl UnwindSafe for IngestOptions
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