pub struct Config {
pub ignore: Vec<String>,
pub include: Vec<String>,
pub follow_symlinks: Option<bool>,
pub preserve_symlinks: Option<bool>,
pub dry_run: Option<bool>,
pub non_interactive: Option<bool>,
pub conflict_strategy: Option<ConflictStrategy>,
pub rules: Vec<SyncRule>,
}Expand description
Main configuration structure
Fields§
§ignore: Vec<String>Patterns to ignore (exclude from sync)
include: Vec<String>Patterns to explicitly include (override ignores)
follow_symlinks: Option<bool>Follow symlinks
preserve_symlinks: Option<bool>Preserve symlinks instead of resolving them
dry_run: Option<bool>Dry run mode (don’t actually sync)
non_interactive: Option<bool>Non-interactive mode (no prompts)
conflict_strategy: Option<ConflictStrategy>Conflict resolution strategy
rules: Vec<SyncRule>Advanced sync rules (direction and type-specific)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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