pub struct SyncConfig {
pub enabled: bool,
pub target_directory: Option<String>,
pub directory_structure: SyncDirectoryStructure,
pub sync_direction: SyncDirection,
pub include_metadata: bool,
pub realtime_monitoring: bool,
pub filename_pattern: String,
pub exclude_pattern: Option<String>,
pub force_overwrite: bool,
pub last_sync: Option<DateTime<Utc>>,
}
Expand description
Directory sync configuration for a workspace
Fields§
§enabled: bool
Enable directory syncing for this workspace
target_directory: Option<String>
Target directory for sync (relative or absolute path)
directory_structure: SyncDirectoryStructure
Directory structure to use (flat, nested, grouped)
sync_direction: SyncDirection
Auto-sync direction (one-way workspace→directory, bidirectional, or manual)
include_metadata: bool
Whether to include metadata files
realtime_monitoring: bool
Filesystem monitoring enabled for real-time sync
filename_pattern: String
Custom filename pattern for exported files
exclude_pattern: Option<String>
Regular expression for excluding workspaces/requests
force_overwrite: bool
Force overwrite existing files during sync
last_sync: Option<DateTime<Utc>>
Last sync timestamp
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 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