pub struct TimeTotalArgs {
pub issue: Option<u32>,
pub assignee: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub audit: bool,
pub by: Option<String>,
}Expand description
The read-only scope a tix time total is evaluated under (T021).
Every criterion is optional and every named one must match, and the period is
inclusive. The dates are the caller’s: this surface never resolves a today, so a
total means exactly the calendar window it was asked for.
Fields§
§issue: Option<u32>Stable issue number to scope the total to
assignee: Option<String>The identity that did the work (an entry’s author)
from: Option<String>Inclusive period start, YYYY-MM-DD
to: Option<String>Inclusive period end, YYYY-MM-DD
audit: boolAlso report the entries deletions left in History (never added to the total)
by: Option<String>Break the total down: issue, assignee or date
Trait Implementations§
Source§impl Args for TimeTotalArgs
impl Args for TimeTotalArgs
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 TimeTotalArgs
impl Clone for TimeTotalArgs
Source§impl Debug for TimeTotalArgs
impl Debug for TimeTotalArgs
Source§impl FromArgMatches for TimeTotalArgs
impl FromArgMatches for TimeTotalArgs
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 TimeTotalArgs
impl RefUnwindSafe for TimeTotalArgs
impl Send for TimeTotalArgs
impl Sync for TimeTotalArgs
impl Unpin for TimeTotalArgs
impl UnsafeUnpin for TimeTotalArgs
impl UnwindSafe for TimeTotalArgs
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> 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