pub struct IntrospectParams {
pub action: IntrospectAction,
pub slow_threshold_ms: Option<f64>,
pub command: Option<String>,
pub args: Option<Value>,
pub db_path: Option<String>,
pub webview_label: Option<String>,
}Expand description
Parameters for the introspect compound tool.
Fields§
§action: IntrospectActionWhich introspection action to perform.
slow_threshold_ms: Option<f64>For command_timings: only show commands slower than this threshold (ms).
command: Option<String>For contract_record: the command to record a baseline for.
args: Option<Value>For contract_record: optional arguments to pass when invoking the command.
db_path: Option<String>For db_health: path to the SQLite database file.
webview_label: Option<String>Target webview for actions that need JS eval.
Trait Implementations§
Source§impl Debug for IntrospectParams
impl Debug for IntrospectParams
Source§impl<'de> Deserialize<'de> for IntrospectParams
impl<'de> Deserialize<'de> for IntrospectParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for IntrospectParams
impl JsonSchema for IntrospectParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for IntrospectParams
impl RefUnwindSafe for IntrospectParams
impl Send for IntrospectParams
impl Sync for IntrospectParams
impl Unpin for IntrospectParams
impl UnsafeUnpin for IntrospectParams
impl UnwindSafe for IntrospectParams
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