pub struct StagingConfig {
pub auto_clean: bool,
pub min_disk_mb: u64,
pub strategy: StagingStrategy,
}Expand description
Staging directory management (v0.11.3, extended v0.13.13).
Fields§
§auto_clean: boolAuto-remove staging after successful apply. Default: true.
min_disk_mb: u64Minimum free disk space in MB. Default: 2048.
strategy: StagingStrategyStaging strategy for large workspaces (v0.13.13). Default: Full.
Trait Implementations§
Source§impl Clone for StagingConfig
impl Clone for StagingConfig
Source§fn clone(&self) -> StagingConfig
fn clone(&self) -> StagingConfig
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 StagingConfig
impl Debug for StagingConfig
Source§impl Default for StagingConfig
impl Default for StagingConfig
Source§impl<'de> Deserialize<'de> for StagingConfig
impl<'de> Deserialize<'de> for StagingConfig
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 StagingConfig
impl RefUnwindSafe for StagingConfig
impl Send for StagingConfig
impl Sync for StagingConfig
impl Unpin for StagingConfig
impl UnsafeUnpin for StagingConfig
impl UnwindSafe for StagingConfig
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