pub struct GitWatcherConfig {
pub min_poll_interval: Duration,
pub include_untracked: bool,
pub include_ignored: bool,
pub recurse_submodules: bool,
}Expand description
Configuration for the git watcher.
Fields§
§min_poll_interval: DurationMinimum interval between polls (to avoid hammering the filesystem).
include_untracked: boolWhether to include untracked files.
include_ignored: boolWhether to include ignored files.
recurse_submodules: boolWhether to recurse into submodules.
Trait Implementations§
Source§impl Clone for GitWatcherConfig
impl Clone for GitWatcherConfig
Source§fn clone(&self) -> GitWatcherConfig
fn clone(&self) -> GitWatcherConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitWatcherConfig
impl Debug for GitWatcherConfig
Auto Trait Implementations§
impl Freeze for GitWatcherConfig
impl RefUnwindSafe for GitWatcherConfig
impl Send for GitWatcherConfig
impl Sync for GitWatcherConfig
impl Unpin for GitWatcherConfig
impl UnwindSafe for GitWatcherConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)