Struct smart_fridge::db::CleanupParam
source · pub struct CleanupParam {
pub food_expiration_period: Duration,
pub check_food_period: Duration,
}Expand description
A struct of parameters to cleanup the database.
Fields§
§food_expiration_period: Duration§check_food_period: DurationImplementations§
source§impl CleanupParam
impl CleanupParam
Auto Trait Implementations§
impl RefUnwindSafe for CleanupParam
impl Send for CleanupParam
impl Sync for CleanupParam
impl Unpin for CleanupParam
impl UnwindSafe for CleanupParam
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