pub struct ResponseView {
pub iteration: u64,
pub outcome: String,
pub tool_calls: u64,
pub text_bytes: u64,
pub reasoning_bytes: u64,
pub usage: Value,
pub error: Option<TurnErrorAudit>,
pub timing: String,
pub frame: Option<FrameInfo>,
}Expand description
turn/response payload (§3.2.4); usage is the provider’s verbatim
object (audit-only).
Fields§
§iteration: u64§outcome: Stringturn/end vocabulary: final_answer | tool_calls | soft_failure | error.
tool_calls: u64§text_bytes: u64§reasoning_bytes: u64§usage: Value§error: Option<TurnErrorAudit>§timing: StringThe only value in v1: "settled" (§3.2.4).
frame: Option<FrameInfo>Trait Implementations§
Source§impl Clone for ResponseView
impl Clone for ResponseView
Source§impl Debug for ResponseView
impl Debug for ResponseView
Auto Trait Implementations§
impl Forget for ResponseView
impl Freeze for ResponseViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ResponseView
impl RefUnwindSafe for ResponseView
impl Send for ResponseView
impl Sync for ResponseView
impl Unpin for ResponseView
impl UnsafeUnpin for ResponseViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ResponseView
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