pub struct QueryExecutionMetrics {
pub success_rate: f64,
pub execution_time_improvement: f64,
pub resource_efficiency: f64,
pub user_satisfaction: f64,
pub pattern_similarity: f64,
}Expand description
Query execution metrics for consciousness adaptation
Fields§
§success_rate: f64Success rate (0.0 to 1.0)
execution_time_improvement: f64Average execution time improvement
resource_efficiency: f64Resource utilization efficiency
user_satisfaction: f64User satisfaction proxy
pattern_similarity: f64Pattern similarity to previous queries
Trait Implementations§
Source§impl Clone for QueryExecutionMetrics
impl Clone for QueryExecutionMetrics
Source§fn clone(&self) -> QueryExecutionMetrics
fn clone(&self) -> QueryExecutionMetrics
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 moreAuto Trait Implementations§
impl Freeze for QueryExecutionMetrics
impl RefUnwindSafe for QueryExecutionMetrics
impl Send for QueryExecutionMetrics
impl Sync for QueryExecutionMetrics
impl Unpin for QueryExecutionMetrics
impl UnsafeUnpin for QueryExecutionMetrics
impl UnwindSafe for QueryExecutionMetrics
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