pub struct AIWorkloadStats {
pub total_queries: u64,
pub by_type: HashMap<String, u64>,
pub embedding_retrieval: u64,
pub context_lookup: u64,
pub knowledge_base: u64,
pub tool_execution: u64,
pub avg_vector_dimensions: u64,
pub avg_top_k: u64,
}Expand description
AI workload statistics
Fields§
§total_queries: u64Total AI workload queries
by_type: HashMap<String, u64>Queries by AI workload type
embedding_retrieval: u64Embedding retrieval count
context_lookup: u64Context lookup count
knowledge_base: u64Knowledge base queries
tool_execution: u64Tool execution queries
avg_vector_dimensions: u64Average vector dimensions
avg_top_k: u64Average k (top-k results)
Implementations§
Trait Implementations§
Source§impl Clone for AIWorkloadStats
impl Clone for AIWorkloadStats
Source§fn clone(&self) -> AIWorkloadStats
fn clone(&self) -> AIWorkloadStats
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 AIWorkloadStats
impl Debug for AIWorkloadStats
Source§impl Default for AIWorkloadStats
impl Default for AIWorkloadStats
Source§fn default() -> AIWorkloadStats
fn default() -> AIWorkloadStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AIWorkloadStats
impl RefUnwindSafe for AIWorkloadStats
impl Send for AIWorkloadStats
impl Sync for AIWorkloadStats
impl Unpin for AIWorkloadStats
impl UnsafeUnpin for AIWorkloadStats
impl UnwindSafe for AIWorkloadStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more