pub struct SessionToolOutcome {
pub text: String,
pub ok: bool,
pub capture: Option<Value>,
pub stop: bool,
pub finish_after_round: bool,
pub emitted_response: bool,
}Expand description
Complete application handling of one primary-session tool call.
Fields§
§text: StringExact result returned through the provider’s native tool protocol.
ok: boolWhether tool execution succeeded.
capture: Option<Value>Opaque token requesting tool-free freeform output capture.
stop: boolWhether the logical session must stop after this tool response.
finish_after_round: boolWhether the logical session should finish after this provider round.
emitted_response: boolWhether this tool already emitted the session’s externally visible response.
Implementations§
Trait Implementations§
Source§impl Clone for SessionToolOutcome
impl Clone for SessionToolOutcome
Source§fn clone(&self) -> SessionToolOutcome
fn clone(&self) -> SessionToolOutcome
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 moreSource§impl Debug for SessionToolOutcome
impl Debug for SessionToolOutcome
Source§impl PartialEq for SessionToolOutcome
impl PartialEq for SessionToolOutcome
impl StructuralPartialEq for SessionToolOutcome
Auto Trait Implementations§
impl Freeze for SessionToolOutcome
impl RefUnwindSafe for SessionToolOutcome
impl Send for SessionToolOutcome
impl Sync for SessionToolOutcome
impl Unpin for SessionToolOutcome
impl UnsafeUnpin for SessionToolOutcome
impl UnwindSafe for SessionToolOutcome
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