pub struct SyncConfig {
pub enabled: bool,
pub provider: SyncProvider,
pub interval_seconds: u64,
pub conflict_strategy: ConflictResolutionStrategy,
pub auto_commit: bool,
pub auto_push: bool,
pub directory_structure: SyncDirectoryStructure,
pub sync_direction: SyncDirection,
}๐Deprecated:
Will be extracted to mockforge-workspace crate
Expand description
Synchronization configuration
Fieldsยง
ยงenabled: bool๐Deprecated:
Will be extracted to mockforge-workspace crate
Whether synchronization is enabled
provider: SyncProvider๐Deprecated:
Will be extracted to mockforge-workspace crate
Synchronization provider (git, cloud, etc.)
interval_seconds: u64๐Deprecated:
Will be extracted to mockforge-workspace crate
Synchronization interval in seconds
conflict_strategy: ConflictResolutionStrategy๐Deprecated:
Will be extracted to mockforge-workspace crate
Conflict resolution strategy
auto_commit: bool๐Deprecated:
Will be extracted to mockforge-workspace crate
Whether to auto-commit changes
auto_push: bool๐Deprecated:
Will be extracted to mockforge-workspace crate
Whether to push changes automatically
directory_structure: SyncDirectoryStructure๐Deprecated:
Will be extracted to mockforge-workspace crate
Directory structure preference
sync_direction: SyncDirection๐Deprecated:
Will be extracted to mockforge-workspace crate
Sync direction preference
Trait Implementationsยง
Sourceยงimpl Clone for SyncConfig
impl Clone for SyncConfig
Sourceยงfn clone(&self) -> SyncConfig
fn clone(&self) -> SyncConfig
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 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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more