pub struct ModelReply {
pub response: Value,
pub usage: TokenUsage,
}Expand description
A replayed or freshly executed model call result.
Fields§
§response: ValueThe model response.
usage: TokenUsageToken usage reported for the call.
Trait Implementations§
Source§impl Clone for ModelReply
impl Clone for ModelReply
Source§fn clone(&self) -> ModelReply
fn clone(&self) -> ModelReply
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 ModelReply
impl Debug for ModelReply
Source§impl PartialEq for ModelReply
impl PartialEq for ModelReply
impl StructuralPartialEq for ModelReply
Auto Trait Implementations§
impl Freeze for ModelReply
impl RefUnwindSafe for ModelReply
impl Send for ModelReply
impl Sync for ModelReply
impl Unpin for ModelReply
impl UnsafeUnpin for ModelReply
impl UnwindSafe for ModelReply
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