pub struct StepResultSchema {
pub tool: String,
pub success: bool,
pub output: Option<Value>,
pub error: Option<String>,
}Expand description
Step result with JSON schema support.
Fields§
§tool: StringTool name that was executed.
success: boolWhether the step succeeded.
output: Option<Value>Output from the step (if successful).
error: Option<String>Error message (if failed).
Trait Implementations§
Source§impl Debug for StepResultSchema
impl Debug for StepResultSchema
Source§impl JsonSchema for StepResultSchema
impl JsonSchema for StepResultSchema
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for StepResultSchema
impl RefUnwindSafe for StepResultSchema
impl Send for StepResultSchema
impl Sync for StepResultSchema
impl Unpin for StepResultSchema
impl UnwindSafe for StepResultSchema
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