pub struct CleanOptions {
pub quarantine_for: Option<Duration>,
pub quarantine_registry: Option<PathBuf>,
}Expand description
Controls whether validated candidates are deleted immediately or held for restoration.
Fields§
§quarantine_for: Option<Duration>Retain candidates for this duration. None preserves immediate cleanup behavior.
quarantine_registry: Option<PathBuf>Override the platform quarantine registry, primarily for isolated automation.
Trait Implementations§
Source§impl Clone for CleanOptions
impl Clone for CleanOptions
Source§fn clone(&self) -> CleanOptions
fn clone(&self) -> CleanOptions
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 CleanOptions
impl Debug for CleanOptions
Source§impl Default for CleanOptions
impl Default for CleanOptions
Source§fn default() -> CleanOptions
fn default() -> CleanOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CleanOptions
impl RefUnwindSafe for CleanOptions
impl Send for CleanOptions
impl Sync for CleanOptions
impl Unpin for CleanOptions
impl UnsafeUnpin for CleanOptions
impl UnwindSafe for CleanOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more