pub struct SyncConfig {
pub auto_sync: bool,
pub default_interval_secs: u64,
pub conflict_resolution: ConflictResolution,
pub exclude_branches: Vec<String>,
pub pre_sync_hooks: Vec<SyncHook>,
pub post_sync_hooks: Vec<SyncHook>,
}Expand description
Synchronization settings.
Fields§
§auto_sync: boolWhether to automatically sync agents
default_interval_secs: u64Default sync interval in seconds
conflict_resolution: ConflictResolutionConflict resolution strategy
exclude_branches: Vec<String>Branches to exclude from auto-sync
pre_sync_hooks: Vec<SyncHook>Pre-sync hooks
post_sync_hooks: Vec<SyncHook>Post-sync hooks
Implementations§
Trait Implementations§
Source§impl Clone for SyncConfig
impl Clone for SyncConfig
Source§impl Debug for SyncConfig
impl Debug for SyncConfig
Source§impl Default for SyncConfig
impl Default for SyncConfig
Source§impl<'de> Deserialize<'de> for SyncConfig
impl<'de> Deserialize<'de> for SyncConfig
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 SyncConfig
impl RefUnwindSafe for SyncConfig
impl Send for SyncConfig
impl Sync for SyncConfig
impl Unpin for SyncConfig
impl UnsafeUnpin for SyncConfig
impl UnwindSafe for SyncConfig
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