distant 0.20.0

Operate on a remote computer through file and process manipulation
Documentation
use serde::{Deserialize, Serialize};

use crate::options::common::Seconds;

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct ServerWatchConfig {
    pub native: bool,
    pub poll_interval: Option<Seconds>,
    pub compare_contents: bool,
    pub debounce_timeout: Option<Seconds>,
    pub debounce_tick_rate: Option<Seconds>,
}

impl Default for ServerWatchConfig {
    fn default() -> Self {
        Self {
            native: true,
            poll_interval: None,
            compare_contents: false,
            debounce_timeout: None,
            debounce_tick_rate: None,
        }
    }
}