pub struct RunUpdate {
pub outputs: Option<Value>,
pub end_time: Option<DateTime<Utc>>,
pub error: Option<String>,
pub prompt_tokens: Option<u64>,
pub completion_tokens: Option<u64>,
pub total_tokens: Option<u64>,
pub total_cost: Option<f64>,
}Fields§
§outputs: Option<Value>§end_time: Option<DateTime<Utc>>§error: Option<String>§prompt_tokens: Option<u64>§completion_tokens: Option<u64>§total_tokens: Option<u64>§total_cost: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunUpdate
impl<'de> Deserialize<'de> for RunUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RunUpdate
impl RefUnwindSafe for RunUpdate
impl Send for RunUpdate
impl Sync for RunUpdate
impl Unpin for RunUpdate
impl UnsafeUnpin for RunUpdate
impl UnwindSafe for RunUpdate
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