pub struct ToolInvocationOutcome {
pub output: Value,
pub receipt: ToolInvocationReportV1,
pub permit_use_receipt: Option<PermitUseReportV1>,
}Fields§
§output: Value§receipt: ToolInvocationReportV1§permit_use_receipt: Option<PermitUseReportV1>Implementations§
Source§impl ToolInvocationOutcome
impl ToolInvocationOutcome
pub fn output_text(&self) -> String
Trait Implementations§
Source§impl Clone for ToolInvocationOutcome
impl Clone for ToolInvocationOutcome
Source§fn clone(&self) -> ToolInvocationOutcome
fn clone(&self) -> ToolInvocationOutcome
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 ToolInvocationOutcome
impl RefUnwindSafe for ToolInvocationOutcome
impl Send for ToolInvocationOutcome
impl Sync for ToolInvocationOutcome
impl Unpin for ToolInvocationOutcome
impl UnsafeUnpin for ToolInvocationOutcome
impl UnwindSafe for ToolInvocationOutcome
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