pub struct HiddenToolError {
pub message: String,
pub details: Value,
}Expand description
A rendered hidden-tool error: prose the model reads plus a structured
details payload for typed downstream handling.
Fields§
§message: StringHuman/model-readable explanation and recovery guidance.
details: ValueStructured details merged into the synthetic error tool result’s
details field. Use a JSON object; Value::Null for none.
Trait Implementations§
Source§impl Clone for HiddenToolError
impl Clone for HiddenToolError
Source§fn clone(&self) -> HiddenToolError
fn clone(&self) -> HiddenToolError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HiddenToolError
impl RefUnwindSafe for HiddenToolError
impl Send for HiddenToolError
impl Sync for HiddenToolError
impl Unpin for HiddenToolError
impl UnsafeUnpin for HiddenToolError
impl UnwindSafe for HiddenToolError
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