pub struct Oid2NameBuilder { /* private fields */ }
Expand description
oid2name
helps to examine the file structure used by PostgreSQL
.
Implementations§
Source§impl Oid2NameBuilder
impl Oid2NameBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new Oid2NameBuilder
Sourcepub fn from(settings: &dyn Settings) -> Self
pub fn from(settings: &dyn Settings) -> Self
Create a new Oid2NameBuilder
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 filenode<S: AsRef<OsStr>>(self, filenode: S) -> Self
pub fn filenode<S: AsRef<OsStr>>(self, filenode: S) -> Self
show info for table with given file node
Sourcepub fn tablespaces(self) -> Self
pub fn tablespaces(self) -> Self
show all tablespaces
Sourcepub fn system_objects(self) -> Self
pub fn system_objects(self) -> Self
show system objects too
Trait Implementations§
Source§impl Clone for Oid2NameBuilder
impl Clone for Oid2NameBuilder
Source§fn clone(&self) -> Oid2NameBuilder
fn clone(&self) -> Oid2NameBuilder
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 Oid2NameBuilder
impl CommandBuilder for Oid2NameBuilder
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 Oid2NameBuilder
impl Debug for Oid2NameBuilder
Source§impl Default for Oid2NameBuilder
impl Default for Oid2NameBuilder
Source§fn default() -> Oid2NameBuilder
fn default() -> Oid2NameBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Oid2NameBuilder
impl RefUnwindSafe for Oid2NameBuilder
impl Send for Oid2NameBuilder
impl Sync for Oid2NameBuilder
impl Unpin for Oid2NameBuilder
impl UnwindSafe for Oid2NameBuilder
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
)