pub struct DiscoverArgs {
pub limit: usize,
pub recent: Option<i64>,
pub realm: Option<String>,
pub all: bool,
pub json: bool,
}Fields§
§limit: usizeMaximum records to print; zero prints all records
recent: Option<i64>Only include records updated within this many hours
realm: Option<String>Only include records in this realm
all: boolInclude stopped assignments
json: boolPrint the complete assignments as JSON
Trait Implementations§
Source§impl Args for DiscoverArgs
impl Args for DiscoverArgs
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 Debug for DiscoverArgs
impl Debug for DiscoverArgs
Source§impl FromArgMatches for DiscoverArgs
impl FromArgMatches for DiscoverArgs
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.Auto Trait Implementations§
impl Freeze for DiscoverArgs
impl RefUnwindSafe for DiscoverArgs
impl Send for DiscoverArgs
impl Sync for DiscoverArgs
impl Unpin for DiscoverArgs
impl UnsafeUnpin for DiscoverArgs
impl UnwindSafe for DiscoverArgs
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