pub struct SyncOptions {
pub sync_activities: bool,
pub sync_health: bool,
pub sync_performance: bool,
pub from_date: Option<NaiveDate>,
pub to_date: Option<NaiveDate>,
pub dry_run: bool,
pub force: bool,
pub fancy_ui: bool,
pub concurrency: usize,
}Expand description
Options for sync operation
Fields§
§sync_activities: boolSync activities
sync_health: boolSync daily health
sync_performance: boolSync performance metrics
from_date: Option<NaiveDate>Start date for sync
to_date: Option<NaiveDate>End date for sync
dry_run: boolDry run (plan only, don’t execute)
force: boolForce re-sync (ignore existing data)
fancy_ui: boolUse fancy TUI (default: true, set false for –simple)
concurrency: usizeNumber of concurrent API requests (default: 3)
Implementations§
Trait Implementations§
Source§impl Default for SyncOptions
impl Default for SyncOptions
Source§fn default() -> SyncOptions
fn default() -> SyncOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncOptions
impl RefUnwindSafe for SyncOptions
impl Send for SyncOptions
impl Sync for SyncOptions
impl Unpin for SyncOptions
impl UnwindSafe for SyncOptions
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> 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