pub struct DiskCompact {
pub target: DiskCompactionTarget,
pub layers: Option<u64>,
pub dry_run: bool,
}Expand description
Compact selected sandbox-owned disk chains.
Fields§
§target: DiskCompactionTargetDisks selected for maintenance.
layers: Option<u64>Maximum oldest sealed layers to compact per selected disk.
dry_run: boolResolve without applying the plan.
Trait Implementations§
Source§impl Clone for DiskCompact
impl Clone for DiskCompact
Source§fn clone(&self) -> DiskCompact
fn clone(&self) -> DiskCompact
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 DiskCompact
impl Debug for DiskCompact
Source§impl<'de> Deserialize<'de> for DiskCompact
impl<'de> Deserialize<'de> for DiskCompact
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiskCompact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiskCompact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiskCompact
Source§impl PartialEq for DiskCompact
impl PartialEq for DiskCompact
Source§impl Serialize for DiskCompact
impl Serialize for DiskCompact
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DiskCompact
Auto Trait Implementations§
impl Freeze for DiskCompact
impl RefUnwindSafe for DiskCompact
impl Send for DiskCompact
impl Sync for DiskCompact
impl Unpin for DiskCompact
impl UnsafeUnpin for DiskCompact
impl UnwindSafe for DiskCompact
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