pub struct CheckpointsConfig {
pub auto_checkpoint_before_destructive: bool,
pub git_commit: bool,
pub git_commit_threshold: usize,
}Fields§
§auto_checkpoint_before_destructive: bool§git_commit: boolCommit checkpoint files to git (on the current branch). Default: false.
git_commit_threshold: usizeOnly use git commits when modified_files exceeds this count; below the threshold the existing file-snapshot mechanism is used.
Trait Implementations§
Source§impl Clone for CheckpointsConfig
impl Clone for CheckpointsConfig
Source§fn clone(&self) -> CheckpointsConfig
fn clone(&self) -> CheckpointsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointsConfig
impl Debug for CheckpointsConfig
Source§impl Default for CheckpointsConfig
impl Default for CheckpointsConfig
Source§impl<'de> Deserialize<'de> for CheckpointsConfig
impl<'de> Deserialize<'de> for CheckpointsConfig
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 CheckpointsConfig
impl RefUnwindSafe for CheckpointsConfig
impl Send for CheckpointsConfig
impl Sync for CheckpointsConfig
impl Unpin for CheckpointsConfig
impl UnsafeUnpin for CheckpointsConfig
impl UnwindSafe for CheckpointsConfig
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