pub struct CleanupConfig {
pub interval: Duration,
pub enabled: bool,
}Expand description
Configuration for background cleanup task
Fields§
§interval: Duration§enabled: boolTrait Implementations§
Source§impl Clone for CleanupConfig
impl Clone for CleanupConfig
Source§fn clone(&self) -> CleanupConfig
fn clone(&self) -> CleanupConfig
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 moreAuto Trait Implementations§
impl Freeze for CleanupConfig
impl RefUnwindSafe for CleanupConfig
impl Send for CleanupConfig
impl Sync for CleanupConfig
impl Unpin for CleanupConfig
impl UnsafeUnpin for CleanupConfig
impl UnwindSafe for CleanupConfig
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