pub struct LatencyPoint {
pub day: String,
pub project_id: String,
pub model_name: Option<String>,
pub observation_count: u64,
pub avg_duration_seconds: Option<f64>,
pub p50_duration_seconds: Option<f64>,
pub p95_duration_seconds: Option<f64>,
pub p99_duration_seconds: Option<f64>,
pub avg_ttft_seconds: Option<f64>,
}Expand description
A single latency data point (daily bucket).
Fields§
§day: String§project_id: String§model_name: Option<String>§observation_count: u64§avg_duration_seconds: Option<f64>Average duration (end_time - start_time) in seconds.
p50_duration_seconds: Option<f64>P50 duration in seconds.
p95_duration_seconds: Option<f64>P95 duration in seconds.
p99_duration_seconds: Option<f64>P99 duration in seconds.
avg_ttft_seconds: Option<f64>Average time-to-first-token (completion_start_time - start_time) in seconds.
Trait Implementations§
Source§impl Clone for LatencyPoint
impl Clone for LatencyPoint
Source§fn clone(&self) -> LatencyPoint
fn clone(&self) -> LatencyPoint
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 LatencyPoint
impl Debug for LatencyPoint
Source§impl<'de> Deserialize<'de> for LatencyPoint
impl<'de> Deserialize<'de> for LatencyPoint
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 LatencyPoint
impl RefUnwindSafe for LatencyPoint
impl Send for LatencyPoint
impl Sync for LatencyPoint
impl Unpin for LatencyPoint
impl UnsafeUnpin for LatencyPoint
impl UnwindSafe for LatencyPoint
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