pub struct OutputContext {
pub response: ResponseMetadata,
pub usage: Usage,
pub finish_reason: FinishReason,
}Expand description
Response context handed to OutputHandler::parse_complete (used to
populate NoObjectGenerated errors).
Fields§
§response: ResponseMetadataResponse metadata of the final step.
usage: UsageUsage of the final step.
finish_reason: FinishReasonFinish reason of the final step.
Trait Implementations§
Source§impl Clone for OutputContext
impl Clone for OutputContext
Source§fn clone(&self) -> OutputContext
fn clone(&self) -> OutputContext
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 OutputContext
impl Debug for OutputContext
Source§impl PartialEq for OutputContext
impl PartialEq for OutputContext
impl StructuralPartialEq for OutputContext
Auto Trait Implementations§
impl Freeze for OutputContext
impl RefUnwindSafe for OutputContext
impl Send for OutputContext
impl Sync for OutputContext
impl Unpin for OutputContext
impl UnsafeUnpin for OutputContext
impl UnwindSafe for OutputContext
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