pub struct ReportArgs {
pub weekly: bool,
pub group_by: Option<GroupBy>,
pub from: Option<String>,
pub to: Option<String>,
pub repo: Option<String>,
pub all_projects: bool,
pub provider: Option<String>,
pub task: Option<String>,
pub branch: Option<String>,
pub model: Option<String>,
pub limit: usize,
}Fields§
§weekly: boolBucket results by calendar week
group_by: Option<GroupBy>Group aggregated results by a dimension
from: Option<String>Inclusive start date (YYYY-MM-DD)
to: Option<String>Inclusive end date (YYYY-MM-DD)
repo: Option<String>Restrict to a specific repository root
all_projects: boolShow results across all tracked projects instead of defaulting to the current repo
provider: Option<String>Restrict to a provider (for delivery/quality this can include human)
task: Option<String>Restrict to a specific task key (ticket format, e.g. ABC-123)
branch: Option<String>Restrict to a specific branch name
model: Option<String>Restrict to a specific model name
limit: usizeMax number of grouped rows to display
Trait Implementations§
Source§impl Args for ReportArgs
impl Args for ReportArgs
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 ReportArgs
impl Clone for ReportArgs
Source§fn clone(&self) -> ReportArgs
fn clone(&self) -> ReportArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReportArgs
impl Debug for ReportArgs
Source§impl FromArgMatches for ReportArgs
impl FromArgMatches for ReportArgs
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 ReportArgs
impl RefUnwindSafe for ReportArgs
impl Send for ReportArgs
impl Sync for ReportArgs
impl Unpin for ReportArgs
impl UnsafeUnpin for ReportArgs
impl UnwindSafe for ReportArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more