pub struct SyncConfig {
pub default_remote: Option<String>,
pub push_on_compact: bool,
pub push_on_archive: bool,
pub sync_invocations: bool,
pub sync_outputs: bool,
pub sync_events: bool,
pub sync_blobs: bool,
pub blob_sync_min_bytes: usize,
}Expand description
Sync configuration for push/pull operations.
Fields§
§default_remote: Option<String>Default remote for push/pull operations.
push_on_compact: boolPush data after compact operations.
push_on_archive: boolPush data before archive operations.
sync_invocations: boolSync invocations table.
sync_outputs: boolSync outputs table.
sync_events: boolSync events table.
sync_blobs: boolSync blob content files.
blob_sync_min_bytes: usizeMinimum blob size to sync (bytes). Smaller blobs stay inline.
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§fn default() -> SyncConfig
fn default() -> SyncConfig
Returns the “default value” for a type. Read more
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