pub struct VacuumResult {
pub health_before: DbHealth,
pub health_after: Option<DbHealth>,
pub vacuumed: bool,
pub duration: Duration,
}Expand description
Result of a run_vacuum call.
Fields§
§health_before: DbHealthHealth snapshot taken before the vacuum decision.
health_after: Option<DbHealth>Health snapshot taken after VACUUM. None if skipped or dry_run.
vacuumed: boolWhether VACUUM actually executed.
duration: DurationWall-clock duration of the full operation.
Trait Implementations§
Source§impl Clone for VacuumResult
impl Clone for VacuumResult
Source§fn clone(&self) -> VacuumResult
fn clone(&self) -> VacuumResult
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 VacuumResult
impl RefUnwindSafe for VacuumResult
impl Send for VacuumResult
impl Sync for VacuumResult
impl Unpin for VacuumResult
impl UnsafeUnpin for VacuumResult
impl UnwindSafe for VacuumResult
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