pub struct PgChecksumsBuilder { /* private fields */ }
Expand description
pg_checksums
enables, disables, or verifies data checksums in a PostgreSQL
database cluster.
Implementations§
Source§impl PgChecksumsBuilder
impl PgChecksumsBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new PgChecksumsBuilder
Sourcepub fn from(settings: &dyn Settings) -> Self
pub fn from(settings: &dyn Settings) -> Self
Create a new PgChecksumsBuilder
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
Trait Implementations§
Source§impl Clone for PgChecksumsBuilder
impl Clone for PgChecksumsBuilder
Source§fn clone(&self) -> PgChecksumsBuilder
fn clone(&self) -> PgChecksumsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl CommandBuilder for PgChecksumsBuilder
impl CommandBuilder for PgChecksumsBuilder
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 PgChecksumsBuilder
impl Debug for PgChecksumsBuilder
Source§impl Default for PgChecksumsBuilder
impl Default for PgChecksumsBuilder
Source§fn default() -> PgChecksumsBuilder
fn default() -> PgChecksumsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PgChecksumsBuilder
impl RefUnwindSafe for PgChecksumsBuilder
impl Send for PgChecksumsBuilder
impl Sync for PgChecksumsBuilder
impl Unpin for PgChecksumsBuilder
impl UnwindSafe for PgChecksumsBuilder
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