pub struct DeprecationCleanupPolicy {
pub max_deprecated_days: u32,
pub remove_critical_immediately: bool,
}
Expand description
Policy for cleaning up deprecated tools
Fields§
§max_deprecated_days: u32
Maximum number of days to keep deprecated tools
remove_critical_immediately: bool
Remove tools marked as critical immediately
Trait Implementations§
Source§impl Clone for DeprecationCleanupPolicy
impl Clone for DeprecationCleanupPolicy
Source§fn clone(&self) -> DeprecationCleanupPolicy
fn clone(&self) -> DeprecationCleanupPolicy
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 DeprecationCleanupPolicy
impl Debug for DeprecationCleanupPolicy
Auto Trait Implementations§
impl Freeze for DeprecationCleanupPolicy
impl RefUnwindSafe for DeprecationCleanupPolicy
impl Send for DeprecationCleanupPolicy
impl Sync for DeprecationCleanupPolicy
impl Unpin for DeprecationCleanupPolicy
impl UnwindSafe for DeprecationCleanupPolicy
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