pub struct VacuumLoBuilder { /* private fields */ }
Expand description
vacuumlo
removes unreferenced large objects from databases.
Implementations§
Source§impl VacuumLoBuilder
impl VacuumLoBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new VacuumLoBuilder
Sourcepub fn from(settings: &dyn Settings) -> Self
pub fn from(settings: &dyn Settings) -> Self
Create a new VacuumLoBuilder
from Settings
Sourcepub fn program_dir<P: Into<PathBuf>>(self, path: P) -> Self
pub fn program_dir<P: Into<PathBuf>>(self, path: P) -> Self
Location of the program binary
Sourcepub fn no_password(self) -> Self
pub fn no_password(self) -> Self
never prompt for password
Sourcepub fn pg_password<S: AsRef<OsStr>>(self, pg_password: S) -> Self
pub fn pg_password<S: AsRef<OsStr>>(self, pg_password: S) -> Self
user password
Trait Implementations§
Source§impl Clone for VacuumLoBuilder
impl Clone for VacuumLoBuilder
Source§fn clone(&self) -> VacuumLoBuilder
fn clone(&self) -> VacuumLoBuilder
Returns a copy 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 CommandBuilder for VacuumLoBuilder
impl CommandBuilder for VacuumLoBuilder
Source§fn get_program(&self) -> &'static OsStr
fn get_program(&self) -> &'static OsStr
Get the program name
Source§fn get_program_dir(&self) -> &Option<PathBuf>
fn get_program_dir(&self) -> &Option<PathBuf>
Location of the program binary
Source§fn env<S: AsRef<OsStr>>(self, key: S, value: S) -> Self
fn env<S: AsRef<OsStr>>(self, key: S, value: S) -> Self
Set an environment variable for the command
Source§fn get_program_file(&self) -> PathBuf
fn get_program_file(&self) -> PathBuf
Fully qualified path to the program binary
Source§impl Debug for VacuumLoBuilder
impl Debug for VacuumLoBuilder
Source§impl Default for VacuumLoBuilder
impl Default for VacuumLoBuilder
Source§fn default() -> VacuumLoBuilder
fn default() -> VacuumLoBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VacuumLoBuilder
impl RefUnwindSafe for VacuumLoBuilder
impl Send for VacuumLoBuilder
impl Sync for VacuumLoBuilder
impl Unpin for VacuumLoBuilder
impl UnwindSafe for VacuumLoBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)