pub struct IngestOptions<'a> {
pub room: Option<&'a str>,
pub source_root: Option<&'a Path>,
pub dry_run: bool,
pub source_file_override: Option<&'a str>,
pub replace_existing_source: bool,
pub replace_across_rooms: bool,
pub no_strip_noise: bool,
pub diary_rollup: bool,
pub diary_rollup_day: Option<&'a str>,
pub project_filter: ProjectPathFilterOptions,
}Fields§
§room: Option<&'a str>§source_root: Option<&'a Path>§dry_run: bool§source_file_override: Option<&'a str>§replace_existing_source: bool§replace_across_rooms: boolWhen replacing an existing source, delete its prior drawers across all
rooms (not just the freshly resolved room). Reindex sets this so a
source that re-routes to a new room does not leave stale drawers behind
in its old room. Ignored unless replace_existing_source is true.
no_strip_noise: bool§diary_rollup: bool§diary_rollup_day: Option<&'a str>§project_filter: ProjectPathFilterOptionsTrait Implementations§
Source§impl<'a> Clone for IngestOptions<'a>
impl<'a> Clone for IngestOptions<'a>
Source§fn clone(&self) -> IngestOptions<'a>
fn clone(&self) -> IngestOptions<'a>
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<'a> Debug for IngestOptions<'a>
impl<'a> Debug for IngestOptions<'a>
Source§impl<'a> Default for IngestOptions<'a>
impl<'a> Default for IngestOptions<'a>
Source§fn default() -> IngestOptions<'a>
fn default() -> IngestOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for IngestOptions<'a>
impl<'a> RefUnwindSafe for IngestOptions<'a>
impl<'a> Send for IngestOptions<'a>
impl<'a> Sync for IngestOptions<'a>
impl<'a> Unpin for IngestOptions<'a>
impl<'a> UnsafeUnpin for IngestOptions<'a>
impl<'a> UnwindSafe for IngestOptions<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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