pub enum FeedbackCmd {
Mark(MarkArgs),
List(ListArgs),
Expire(ExpireArgs),
Withdraw(WithdrawArgs),
Purge(PurgeArgs),
PromoteAsTruth(PromoteAsTruthArgs),
Export(ExportArgs),
Import(ImportArgs),
}Variants§
Mark(MarkArgs)
Record a verdict for a (query, symbol) result.
List(ListArgs)
List recorded feedback verdicts.
Expire(ExpireArgs)
Lapse a verdict so it stops influencing search ranking.
Withdraw(WithdrawArgs)
Retract a verdict that should never have been recorded.
Purge(PurgeArgs)
Hard-delete a verdict from both stores. Prefer withdraw.
PromoteAsTruth(PromoteAsTruthArgs)
Designate a symbol as the canonical source-of-truth for a domain concept.
Export(ExportArgs)
Export all feedback entries to a JSON file (or stdout).
Import(ImportArgs)
Import feedback entries from a JSON file (or stdin).
Trait Implementations§
Source§impl Debug for FeedbackCmd
impl Debug for FeedbackCmd
Source§impl FromArgMatches for FeedbackCmd
impl FromArgMatches for FeedbackCmd
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 FeedbackCmd
impl Subcommand for FeedbackCmd
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 FeedbackCmd
impl RefUnwindSafe for FeedbackCmd
impl Send for FeedbackCmd
impl Sync for FeedbackCmd
impl Unpin for FeedbackCmd
impl UnsafeUnpin for FeedbackCmd
impl UnwindSafe for FeedbackCmd
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