pub struct ToolCheckOptions {
pub selector: Option<EvalId>,
pub eval: Option<EvalId>,
pub artifact: Option<ArtifactName>,
pub audience: Option<Audience>,
pub tool: Option<ToolName>,
pub execute: bool,
pub args: Option<Value>,
}Fields§
§selector: Option<EvalId>Select one Agent or Human eval’s admitted scope (same as –eval).
eval: Option<EvalId>Select one Agent or Human eval’s admitted scope.
artifact: Option<ArtifactName>Check tools declared for one Artifact.
audience: Option<Audience>Restrict –artifact to Agent or Human tools.
tool: Option<ToolName>Check one tool by short or published name.
execute: boolInvoke exactly one explicitly selected tool; never create review evidence.
args: Option<Value>JSON arguments for an executed Agent tool.
Implementations§
Trait Implementations§
Source§impl Args for ToolCheckOptions
impl Args for ToolCheckOptions
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 Debug for ToolCheckOptions
impl Debug for ToolCheckOptions
Source§impl Default for ToolCheckOptions
impl Default for ToolCheckOptions
Source§impl FromArgMatches for ToolCheckOptions
impl FromArgMatches for ToolCheckOptions
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 ToolCheckOptions
impl RefUnwindSafe for ToolCheckOptions
impl Send for ToolCheckOptions
impl Sync for ToolCheckOptions
impl Unpin for ToolCheckOptions
impl UnsafeUnpin for ToolCheckOptions
impl UnwindSafe for ToolCheckOptions
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