pub struct RoundCompletion {
pub answer: String,
pub used_tool: bool,
pub finish_requested: bool,
pub emitted_response: bool,
}Expand description
Provider completion summarized for the application-owned session policy.
Fields§
§answer: StringTerminal assistant text, which may be empty after tool use.
used_tool: boolWhether the provider called at least one application tool.
finish_requested: boolWhether a successful tool requested session completion after this round.
emitted_response: boolWhether a tool already emitted the externally visible response.
Trait Implementations§
Source§impl Clone for RoundCompletion
impl Clone for RoundCompletion
Source§fn clone(&self) -> RoundCompletion
fn clone(&self) -> RoundCompletion
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 RoundCompletion
impl Debug for RoundCompletion
impl Eq for RoundCompletion
Source§impl PartialEq for RoundCompletion
impl PartialEq for RoundCompletion
impl StructuralPartialEq for RoundCompletion
Auto Trait Implementations§
impl Freeze for RoundCompletion
impl RefUnwindSafe for RoundCompletion
impl Send for RoundCompletion
impl Sync for RoundCompletion
impl Unpin for RoundCompletion
impl UnsafeUnpin for RoundCompletion
impl UnwindSafe for RoundCompletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.