pub struct FeedEntryMetrics {
pub duration_ms: Option<i64>,
pub tokens_used: Option<i64>,
pub cost_usd: Option<f64>,
pub steps: Option<i64>,
pub tool_calls: Option<i64>,
}Expand description
FeedEntryMetrics model.
Fields§
§duration_ms: Option<i64>§tokens_used: Option<i64>§cost_usd: Option<f64>§steps: Option<i64>§tool_calls: Option<i64>Trait Implementations§
Source§impl Clone for FeedEntryMetrics
impl Clone for FeedEntryMetrics
Source§fn clone(&self) -> FeedEntryMetrics
fn clone(&self) -> FeedEntryMetrics
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 FeedEntryMetrics
impl Debug for FeedEntryMetrics
Source§impl Default for FeedEntryMetrics
impl Default for FeedEntryMetrics
Source§fn default() -> FeedEntryMetrics
fn default() -> FeedEntryMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeedEntryMetrics
impl<'de> Deserialize<'de> for FeedEntryMetrics
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
Source§impl PartialEq for FeedEntryMetrics
impl PartialEq for FeedEntryMetrics
Source§impl Serialize for FeedEntryMetrics
impl Serialize for FeedEntryMetrics
impl StructuralPartialEq for FeedEntryMetrics
Auto Trait Implementations§
impl Freeze for FeedEntryMetrics
impl RefUnwindSafe for FeedEntryMetrics
impl Send for FeedEntryMetrics
impl Sync for FeedEntryMetrics
impl Unpin for FeedEntryMetrics
impl UnsafeUnpin for FeedEntryMetrics
impl UnwindSafe for FeedEntryMetrics
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