Struct libps_mem::conf::CmdOptConf
source · [−]pub struct CmdOptConf {
pub prog_name: String,
pub flg_all: bool,
pub opt_sort: OptSortOrder,
pub opt_pid: i32,
pub opt_sleep: u32,
pub flg_help: bool,
pub flg_version: bool,
pub opt_uc_x: Vec<OptUcXParam>,
pub arg_params: Vec<String>,
}
Fields
prog_name: String
flg_all: bool
opt_sort: OptSortOrder
opt_pid: i32
opt_sleep: u32
flg_help: bool
flg_version: bool
opt_uc_x: Vec<OptUcXParam>
arg_params: Vec<String>
Implementations
sourceimpl CmdOptConf
impl CmdOptConf
pub fn base_dir(&self) -> String
pub fn is_opt_uc_x_help(&self) -> bool
pub fn is_opt_uc_x_package_version_info(&self) -> bool
Trait Implementations
sourceimpl Debug for CmdOptConf
impl Debug for CmdOptConf
sourceimpl Default for CmdOptConf
impl Default for CmdOptConf
sourcefn default() -> CmdOptConf
fn default() -> CmdOptConf
Returns the “default value” for a type. Read more
sourceimpl HelpVersion for CmdOptConf
impl HelpVersion for CmdOptConf
sourceimpl PartialEq<CmdOptConf> for CmdOptConf
impl PartialEq<CmdOptConf> for CmdOptConf
sourcefn eq(&self, other: &CmdOptConf) -> bool
fn eq(&self, other: &CmdOptConf) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CmdOptConf) -> bool
fn ne(&self, other: &CmdOptConf) -> bool
This method tests for !=
.
impl StructuralPartialEq for CmdOptConf
Auto Trait Implementations
impl RefUnwindSafe for CmdOptConf
impl Send for CmdOptConf
impl Sync for CmdOptConf
impl Unpin for CmdOptConf
impl UnwindSafe for CmdOptConf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more