pub struct WatchConfig {
pub debounce_ms: u64,
pub min_interval_ms: u64,
pub sync_on_start: bool,
pub dry_run: bool,
}
Expand description
Watch mode configuration
Fields§
§debounce_ms: u64
How long to wait after changes before syncing (milliseconds)
min_interval_ms: u64
Minimum interval between syncs (milliseconds)
sync_on_start: bool
Whether to sync on startup
dry_run: bool
Dry run mode - detect changes but don’t sync
Trait Implementations§
Source§impl Clone for WatchConfig
impl Clone for WatchConfig
Source§fn clone(&self) -> WatchConfig
fn clone(&self) -> WatchConfig
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 WatchConfig
impl Debug for WatchConfig
Auto Trait Implementations§
impl Freeze for WatchConfig
impl RefUnwindSafe for WatchConfig
impl Send for WatchConfig
impl Sync for WatchConfig
impl Unpin for WatchConfig
impl UnwindSafe for WatchConfig
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