pub struct ForwardMetricsSummary {
pub total_requests: u64,
pub successful_requests: u64,
pub failed_requests: u64,
pub total_tokens: TokenUsage,
pub avg_duration_ms: Option<u64>,
}Fields§
§total_requests: u64§successful_requests: u64§failed_requests: u64§total_tokens: TokenUsage§avg_duration_ms: Option<u64>Trait Implementations§
Source§impl Clone for ForwardMetricsSummary
impl Clone for ForwardMetricsSummary
Source§fn clone(&self) -> ForwardMetricsSummary
fn clone(&self) -> ForwardMetricsSummary
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 ForwardMetricsSummary
impl Debug for ForwardMetricsSummary
Source§impl<'de> Deserialize<'de> for ForwardMetricsSummary
impl<'de> Deserialize<'de> for ForwardMetricsSummary
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 ForwardMetricsSummary
impl PartialEq for ForwardMetricsSummary
Source§fn eq(&self, other: &ForwardMetricsSummary) -> bool
fn eq(&self, other: &ForwardMetricsSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ForwardMetricsSummary
impl Serialize for ForwardMetricsSummary
impl StructuralPartialEq for ForwardMetricsSummary
Auto Trait Implementations§
impl Freeze for ForwardMetricsSummary
impl RefUnwindSafe for ForwardMetricsSummary
impl Send for ForwardMetricsSummary
impl Sync for ForwardMetricsSummary
impl Unpin for ForwardMetricsSummary
impl UnsafeUnpin for ForwardMetricsSummary
impl UnwindSafe for ForwardMetricsSummary
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