pub struct AgentWrapperCompletion {
pub status: ExitStatus,
pub final_text: Option<String>,
pub data: Option<Value>,
}Fields§
§status: ExitStatus§final_text: Option<String>A backend may populate final_text when it can deterministically extract it.
data: Option<Value>Optional backend-specific completion payload.
This payload MUST obey the bounds and enforcement behavior defined in
event-envelope-schema-spec.md (see “Completion payload bounds”).
Trait Implementations§
Source§impl Clone for AgentWrapperCompletion
impl Clone for AgentWrapperCompletion
Source§fn clone(&self) -> AgentWrapperCompletion
fn clone(&self) -> AgentWrapperCompletion
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 AgentWrapperCompletion
impl RefUnwindSafe for AgentWrapperCompletion
impl Send for AgentWrapperCompletion
impl Sync for AgentWrapperCompletion
impl Unpin for AgentWrapperCompletion
impl UnsafeUnpin for AgentWrapperCompletion
impl UnwindSafe for AgentWrapperCompletion
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