pub struct SatfPerformanceMetrics {
pub source: String,
pub time_to_first_token_us: Option<f64>,
pub inter_token_latency_us: Option<f64>,
pub queue_delay_us: Option<f64>,
pub kv_cache_hit_rate: Option<f64>,
pub kv_transfer_latency_us: Option<f64>,
}Fields§
§source: String§time_to_first_token_us: Option<f64>§inter_token_latency_us: Option<f64>§queue_delay_us: Option<f64>§kv_cache_hit_rate: Option<f64>§kv_transfer_latency_us: Option<f64>Trait Implementations§
Source§impl Clone for SatfPerformanceMetrics
impl Clone for SatfPerformanceMetrics
Source§fn clone(&self) -> SatfPerformanceMetrics
fn clone(&self) -> SatfPerformanceMetrics
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 SatfPerformanceMetrics
impl Debug for SatfPerformanceMetrics
Source§impl<'de> Deserialize<'de> for SatfPerformanceMetrics
impl<'de> Deserialize<'de> for SatfPerformanceMetrics
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 SatfPerformanceMetrics
impl PartialEq for SatfPerformanceMetrics
Source§impl Serialize for SatfPerformanceMetrics
impl Serialize for SatfPerformanceMetrics
impl StructuralPartialEq for SatfPerformanceMetrics
Auto Trait Implementations§
impl Freeze for SatfPerformanceMetrics
impl RefUnwindSafe for SatfPerformanceMetrics
impl Send for SatfPerformanceMetrics
impl Sync for SatfPerformanceMetrics
impl Unpin for SatfPerformanceMetrics
impl UnsafeUnpin for SatfPerformanceMetrics
impl UnwindSafe for SatfPerformanceMetrics
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