pub enum ToolCheckOptions {
Inspect {
scope: InspectionScope,
tool: Option<ToolName>,
},
Execute {
scope: ExecutionScope,
tool: ToolName,
},
}Variants§
Implementations§
Source§impl ToolCheckOptions
impl ToolCheckOptions
Sourcepub fn from_flags(
eval: Option<EvalId>,
artifact: Option<ArtifactName>,
audience: Option<Audience>,
tool: Option<ToolName>,
execute: bool,
args: Option<ToolArguments>,
) -> Result<Self, String>
pub fn from_flags( eval: Option<EvalId>, artifact: Option<ArtifactName>, audience: Option<Audience>, tool: Option<ToolName>, execute: bool, args: Option<ToolArguments>, ) -> Result<Self, String>
Parse CLI or MCP flag combinations once, before reading project configuration.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ToolCheckOptions
impl Freeze for ToolCheckOptions
impl Move for ToolCheckOptions
impl RefUnwindSafe for ToolCheckOptions
impl Send for ToolCheckOptions
impl Sync for ToolCheckOptions
impl Unpin for ToolCheckOptions
impl UnsafeUnpin for ToolCheckOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
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