pub struct AutoSyncConfig {
pub interval: u64,
pub sync_on_shutdown: bool,
pub batch_size: usize,
}Expand description
Configuration for auto-sync behavior
Fields§
§interval: u64Interval between sync attempts (seconds)
sync_on_shutdown: boolWhether to sync on shutdown
batch_size: usizeMaximum batch size per sync
Trait Implementations§
Source§impl Clone for AutoSyncConfig
impl Clone for AutoSyncConfig
Source§fn clone(&self) -> AutoSyncConfig
fn clone(&self) -> AutoSyncConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AutoSyncConfig
impl Debug for AutoSyncConfig
Auto Trait Implementations§
impl Freeze for AutoSyncConfig
impl RefUnwindSafe for AutoSyncConfig
impl Send for AutoSyncConfig
impl Sync for AutoSyncConfig
impl Unpin for AutoSyncConfig
impl UnwindSafe for AutoSyncConfig
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