pub struct QueryEvaluationResult {
pub query_id: String,
pub scores: HashMap<String, f32>,
pub errors: Vec<EvaluationError>,
pub details: HashMap<String, Value>,
}Expand description
Per-query evaluation result
Fields§
§query_id: StringQuery ID
scores: HashMap<String, f32>Metric scores
errors: Vec<EvaluationError>Error analysis
details: HashMap<String, Value>Additional details
Trait Implementations§
Source§impl Clone for QueryEvaluationResult
impl Clone for QueryEvaluationResult
Source§fn clone(&self) -> QueryEvaluationResult
fn clone(&self) -> QueryEvaluationResult
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 QueryEvaluationResult
impl Debug for QueryEvaluationResult
Source§impl<'de> Deserialize<'de> for QueryEvaluationResult
impl<'de> Deserialize<'de> for QueryEvaluationResult
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 QueryEvaluationResult
impl RefUnwindSafe for QueryEvaluationResult
impl Send for QueryEvaluationResult
impl Sync for QueryEvaluationResult
impl Unpin for QueryEvaluationResult
impl UnwindSafe for QueryEvaluationResult
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