pub struct VacuumOptions {
pub threshold_percent: f64,
pub dry_run: bool,
}Expand description
Options for run_vacuum.
Fields§
§threshold_percent: f64Only vacuum if freelist exceeds this percentage. Default: 20.0.
dry_run: boolLog-only mode — report health without running VACUUM. Default: false.
Trait Implementations§
Source§impl Clone for VacuumOptions
impl Clone for VacuumOptions
Source§fn clone(&self) -> VacuumOptions
fn clone(&self) -> VacuumOptions
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 VacuumOptions
impl Debug for VacuumOptions
Auto Trait Implementations§
impl Freeze for VacuumOptions
impl RefUnwindSafe for VacuumOptions
impl Send for VacuumOptions
impl Sync for VacuumOptions
impl Unpin for VacuumOptions
impl UnsafeUnpin for VacuumOptions
impl UnwindSafe for VacuumOptions
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