pub struct AskStats {
pub total_ms: u64,
pub retrieve_ms: u64,
pub prompt_ms: u64,
pub llm_ms: u64,
}Expand description
Aggregated timings of one ask run, in milliseconds.
Fields§
§total_ms: u64§retrieve_ms: u64§prompt_ms: u64§llm_ms: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for AskStats
impl<'de> Deserialize<'de> for AskStats
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 Forget for AskStats
impl Freeze for AskStats
impl Move for AskStats
impl RefUnwindSafe for AskStats
impl Send for AskStats
impl Sync for AskStats
impl Unpin for AskStats
impl UnsafeUnpin for AskStats
impl UnwindSafe for AskStats
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