pub struct PoolMaintainArgs {
pub repo: Option<String>,
pub older_than: Option<Span>,
pub json: bool,
}Expand description
Arguments for onevcs pool maintain.
Fields§
§repo: Option<String>An identity key, a registered alias, an origin URL, or a path. Omitted, every registered identity.
older_than: Option<Span>Skip a slot maintained within this span (7d, 36h, 90m, 600s). Omitted,
every idle slot is due; a slot never maintained is always due.
json: boolReport as JSON rather than as a human report.
Trait Implementations§
Source§impl Args for PoolMaintainArgs
impl Args for PoolMaintainArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for PoolMaintainArgs
impl Clone for PoolMaintainArgs
Source§impl CommandFactory for PoolMaintainArgs
impl CommandFactory for PoolMaintainArgs
Source§impl Debug for PoolMaintainArgs
impl Debug for PoolMaintainArgs
impl Eq for PoolMaintainArgs
Source§impl FromArgMatches for PoolMaintainArgs
impl FromArgMatches for PoolMaintainArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for PoolMaintainArgs
impl Parser for PoolMaintainArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl PartialEq for PoolMaintainArgs
impl PartialEq for PoolMaintainArgs
impl StructuralPartialEq for PoolMaintainArgs
Auto Trait Implementations§
impl Freeze for PoolMaintainArgs
impl RefUnwindSafe for PoolMaintainArgs
impl Send for PoolMaintainArgs
impl Sync for PoolMaintainArgs
impl Unpin for PoolMaintainArgs
impl UnsafeUnpin for PoolMaintainArgs
impl UnwindSafe for PoolMaintainArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.