pub struct ListArgs {
pub from_page: Option<i64>,
pub to_page: Option<i64>,
pub num_resources: bool,
pub stream: bool,
pub throttle: Option<u64>,
pub get_args: GetArgs,
/* private fields */
}
Fields§
§from_page: Option<i64>
From page
to_page: Option<i64>
To page
num_resources: bool
How many resources are available. Result is an approximation depending on total pages and default per_page query param. Total given as an interval (min, max)
stream: bool
Flush results to STDOUT as they are received. No sorting and no date filtering is applied
throttle: Option<u64>
Throttle the requests to the server. Fixed time to wait in milliseconds between each HTTP request.
get_args: GetArgs
Trait Implementations§
Source§impl Args for ListArgs
impl Args for ListArgs
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 CommandFactory for ListArgs
impl CommandFactory for ListArgs
Source§impl From<ListArgs> for ListRemoteCliArgs
impl From<ListArgs> for ListRemoteCliArgs
Source§impl From<ListArgs> for PipelineOptions
impl From<ListArgs> for PipelineOptions
Source§impl From<ListArgs> for ReleaseOptions
impl From<ListArgs> for ReleaseOptions
Source§impl FromArgMatches for ListArgs
impl FromArgMatches for ListArgs
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 ListArgs
impl Parser for ListArgs
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)
Auto Trait Implementations§
impl Freeze for ListArgs
impl RefUnwindSafe for ListArgs
impl Send for ListArgs
impl Sync for ListArgs
impl Unpin for ListArgs
impl UnwindSafe for ListArgs
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