pub struct SubCallAnswer {
pub text: String,
pub structured: Option<Value>,
pub reported_failure: bool,
}Expand description
What a sub-call produced: the result’s text, its structured content when
the tool gave one, and whether the tool called it a failure. Err is the
call not running at all — unknown, not callable, refused, invalid.
Fields§
§text: String§structured: Option<Value>§reported_failure: boolTrait Implementations§
Source§impl Clone for SubCallAnswer
impl Clone for SubCallAnswer
Auto Trait Implementations§
impl Forget for SubCallAnswer
impl Freeze for SubCallAnswerwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for SubCallAnswer
impl RefUnwindSafe for SubCallAnswer
impl Send for SubCallAnswer
impl Sync for SubCallAnswer
impl Unpin for SubCallAnswer
impl UnsafeUnpin for SubCallAnswerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for SubCallAnswer
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