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. Time to wait in milliseconds between each HTTP request.
get_args: GetArgs
Trait Implementations§
source§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)
Update from iterator, exit on error.
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