pub struct SystemTiming {
pub total_time_ms: f32,
pub retrieval_time_ms: f32,
pub generation_time_ms: Option<f32>,
pub reranking_time_ms: Option<f32>,
}Expand description
System timing information
Fields§
§total_time_ms: f32Total response time (ms)
retrieval_time_ms: f32Retrieval time (ms)
generation_time_ms: Option<f32>Generation time (ms)
reranking_time_ms: Option<f32>Reranking time (ms)
Trait Implementations§
Source§impl Clone for SystemTiming
impl Clone for SystemTiming
Source§fn clone(&self) -> SystemTiming
fn clone(&self) -> SystemTiming
Returns a duplicate of the value. Read more
1.0.0 · 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 SystemTiming
impl Debug for SystemTiming
Source§impl<'de> Deserialize<'de> for SystemTiming
impl<'de> Deserialize<'de> for SystemTiming
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 SystemTiming
impl RefUnwindSafe for SystemTiming
impl Send for SystemTiming
impl Sync for SystemTiming
impl Unpin for SystemTiming
impl UnwindSafe for SystemTiming
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