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 SubCallAnswer
impl Move for SubCallAnswer
impl RefUnwindSafe for SubCallAnswer
impl Send for SubCallAnswer
impl Sync for SubCallAnswer
impl Unpin for SubCallAnswer
impl UnsafeUnpin for SubCallAnswer
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