pub struct SyncorConfig {
pub debounce_secs: u64,
pub default_poll_interval_secs: u64,
}Expand description
Top-level application configuration (stored in config.toml).
Fields§
§debounce_secs: u64How long (seconds) to debounce filesystem events before acting.
default_poll_interval_secs: u64Default poll interval (seconds) for links that don’t override it.
Implementations§
Trait Implementations§
Source§impl Clone for SyncorConfig
impl Clone for SyncorConfig
Source§fn clone(&self) -> SyncorConfig
fn clone(&self) -> SyncorConfig
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 SyncorConfig
impl Debug for SyncorConfig
Source§impl Default for SyncorConfig
impl Default for SyncorConfig
Source§impl<'de> Deserialize<'de> for SyncorConfig
impl<'de> Deserialize<'de> for SyncorConfig
Source§fn 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
Auto Trait Implementations§
impl Freeze for SyncorConfig
impl RefUnwindSafe for SyncorConfig
impl Send for SyncorConfig
impl Sync for SyncorConfig
impl Unpin for SyncorConfig
impl UnsafeUnpin for SyncorConfig
impl UnwindSafe for SyncorConfig
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