Struct git_snapshot::repo_watcher::WatchConfig
source · [−]pub struct WatchConfig {
pub repos: Vec<RepoConfig>,
pub mode: WatchMode,
pub debounce_period: Duration,
}
Fields
repos: Vec<RepoConfig>
mode: WatchMode
debounce_period: Duration
Implementations
Trait Implementations
sourceimpl Debug for WatchConfig
impl Debug for WatchConfig
sourceimpl Default for WatchConfig
impl Default for WatchConfig
sourceimpl<'de> Deserialize<'de> for WatchConfig
impl<'de> Deserialize<'de> for WatchConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for WatchConfig
impl Serialize for WatchConfig
Auto Trait Implementations
impl RefUnwindSafe for WatchConfig
impl Send for WatchConfig
impl Sync for WatchConfig
impl Unpin for WatchConfig
impl UnwindSafe for WatchConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more