pub enum TriageAction {
List {
age: bool,
count: bool,
},
Status,
Accept {
issue: String,
reason: Option<String>,
to: Option<String>,
actor: Option<String>,
},
Decline {
issue: String,
reason: Option<String>,
actor: Option<String>,
},
Duplicate {
issue: String,
of: String,
reason: Option<String>,
actor: Option<String>,
},
Defer {
issue: String,
reason: Option<String>,
actor: Option<String>,
},
Batch {
select: Option<String>,
filter: Option<String>,
decision: String,
reason: Option<String>,
actor: Option<String>,
of: Option<String>,
to: Option<String>,
apply: bool,
},
}Variants§
List
Read the inbox queue: one row per entry (FR-001)
Fields
Status
Read the inbox summary: decision counts and the age histogram (FR-005)
Accept
Accept: move into the normal workflow, validated by #183’s transition policy
Fields
Decline
Decline: move to [triage].declined_status; never deletes or archives
Fields
Duplicate
Duplicate: record a typed duplicates relation; never merges files
Fields
Defer
Defer: stay in the inbox with a refreshed entry time
Fields
Batch
One decision across a selection: preview by default, --apply to write
Fields
Trait Implementations§
Source§impl FromArgMatches for TriageAction
impl FromArgMatches for TriageAction
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for TriageAction
impl Subcommand for TriageAction
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for TriageAction
impl RefUnwindSafe for TriageAction
impl Send for TriageAction
impl Sync for TriageAction
impl Unpin for TriageAction
impl UnsafeUnpin for TriageAction
impl UnwindSafe for TriageAction
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> 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