pub struct CleanupOptions {
pub max_age_ms: Option<u64>,
pub dry_run: bool,
}Expand description
Options for cleanup_stale: max_age_ms (default 24h), dry_run
Fields§
§max_age_ms: Option<u64>§dry_run: boolTrait Implementations§
Source§impl Debug for CleanupOptions
impl Debug for CleanupOptions
Source§impl Default for CleanupOptions
impl Default for CleanupOptions
Source§fn default() -> CleanupOptions
fn default() -> CleanupOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CleanupOptions
impl RefUnwindSafe for CleanupOptions
impl Send for CleanupOptions
impl Sync for CleanupOptions
impl Unpin for CleanupOptions
impl UnsafeUnpin for CleanupOptions
impl UnwindSafe for CleanupOptions
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