pub struct AnalyticsScopeArgs {
pub scope: String,
pub id: String,
pub from: Option<String>,
pub to: Option<String>,
pub mode: Option<String>,
pub unit: Option<String>,
}Expand description
The scope, period, mode and unit flags every tix analytics verb shares.
The period is the scope’s own planning data unless a bound is named here, and the mode is explicit rather than inferred: an estimate valuation is only drawn through the project’s configured unit conversion, so a mode the record cannot support is refused instead of silently falling back to a count.
Fields§
§scope: StringScope kind: cycle or milestone
id: StringThe scope’s planning identity: a cycle name or stable id, or a milestone name
from: Option<String>The series’ inclusive start, YYYY-MM-DD; absent means the scope’s own start
to: Option<String>The series’ inclusive end, YYYY-MM-DD; absent means the scope’s own planning end
mode: Option<String>How the series counts: count (issue counts, the default) or estimate
estimate requires --unit and a unit the project declares a conversion for;
a missing or incompatible unit is refused with the shared remedy, never guessed.
unit: Option<String>The unit estimate mode counts in; count mode ignores it (an issue count is unitless)
Trait Implementations§
Source§impl Args for AnalyticsScopeArgs
impl Args for AnalyticsScopeArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for AnalyticsScopeArgs
impl Clone for AnalyticsScopeArgs
Source§impl Debug for AnalyticsScopeArgs
impl Debug for AnalyticsScopeArgs
Source§impl FromArgMatches for AnalyticsScopeArgs
impl FromArgMatches for AnalyticsScopeArgs
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>
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>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for AnalyticsScopeArgs
impl RefUnwindSafe for AnalyticsScopeArgs
impl Send for AnalyticsScopeArgs
impl Sync for AnalyticsScopeArgs
impl Unpin for AnalyticsScopeArgs
impl UnsafeUnpin for AnalyticsScopeArgs
impl UnwindSafe for AnalyticsScopeArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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