pub struct ReportSummary {Show 16 fields
pub total_events: u64,
pub total_llm_calls: u64,
pub total_tool_calls: u64,
pub total_errors: u64,
pub total_tokens: u64,
pub total_cost_usd: f64,
pub avg_latency_ms: f64,
pub p50_latency_ms: u64,
pub p90_latency_ms: u64,
pub p99_latency_ms: u64,
pub router_calls: u64,
pub router_cost_usd: f64,
pub main_llm_calls: u64,
pub main_llm_cost_usd: f64,
pub unpriced_events: u64,
pub estimated_token_events: u64,
}Expand description
Top-level totals for quick inspection.
Fields§
§total_events: u64§total_llm_calls: u64§total_tool_calls: u64§total_errors: u64§total_tokens: u64§total_cost_usd: f64§avg_latency_ms: f64§p50_latency_ms: u64§p90_latency_ms: u64§p99_latency_ms: u64§router_calls: u64§router_cost_usd: f64§main_llm_calls: u64§main_llm_cost_usd: f64§unpriced_events: u64§estimated_token_events: u64Trait Implementations§
Source§impl Clone for ReportSummary
impl Clone for ReportSummary
Source§fn clone(&self) -> ReportSummary
fn clone(&self) -> ReportSummary
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 ReportSummary
impl Debug for ReportSummary
Source§impl Default for ReportSummary
impl Default for ReportSummary
Source§fn default() -> ReportSummary
fn default() -> ReportSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReportSummary
impl<'de> Deserialize<'de> for ReportSummary
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReportSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReportSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ReportSummary
impl Serialize for ReportSummary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ReportSummary
impl RefUnwindSafe for ReportSummary
impl Send for ReportSummary
impl Sync for ReportSummary
impl Unpin for ReportSummary
impl UnsafeUnpin for ReportSummary
impl UnwindSafe for ReportSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.