pub struct FleetUsageSummary {
pub last_usage: Option<UsageMetrics>,
pub total_usage: Option<UsageMetrics>,
pub turns_total: Option<u64>,
pub turns_with_usage: Option<u64>,
pub last_output_tokens_per_second: Option<f64>,
pub avg_output_tokens_per_second: Option<f64>,
}Fields§
§last_usage: Option<UsageMetrics>§total_usage: Option<UsageMetrics>§turns_total: Option<u64>§turns_with_usage: Option<u64>§last_output_tokens_per_second: Option<f64>§avg_output_tokens_per_second: Option<f64>Trait Implementations§
Source§impl Clone for FleetUsageSummary
impl Clone for FleetUsageSummary
Source§fn clone(&self) -> FleetUsageSummary
fn clone(&self) -> FleetUsageSummary
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 FleetUsageSummary
impl Debug for FleetUsageSummary
Source§impl Default for FleetUsageSummary
impl Default for FleetUsageSummary
Source§fn default() -> FleetUsageSummary
fn default() -> FleetUsageSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FleetUsageSummary
impl<'de> Deserialize<'de> for FleetUsageSummary
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 FleetUsageSummary
impl PartialEq for FleetUsageSummary
Source§impl Serialize for FleetUsageSummary
impl Serialize for FleetUsageSummary
impl StructuralPartialEq for FleetUsageSummary
Auto Trait Implementations§
impl Freeze for FleetUsageSummary
impl RefUnwindSafe for FleetUsageSummary
impl Send for FleetUsageSummary
impl Sync for FleetUsageSummary
impl Unpin for FleetUsageSummary
impl UnsafeUnpin for FleetUsageSummary
impl UnwindSafe for FleetUsageSummary
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