pub struct ScoreSummary {
pub evaluator: String,
pub value: f64,
pub label: ScoreLabel,
pub layer: EvalLayer,
}Expand description
Summary of a score for event serialization.
Fields§
§evaluator: String§value: f64§label: ScoreLabel§layer: EvalLayerTrait Implementations§
Source§impl Clone for ScoreSummary
impl Clone for ScoreSummary
Source§fn clone(&self) -> ScoreSummary
fn clone(&self) -> ScoreSummary
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 ScoreSummary
impl Debug for ScoreSummary
Source§impl<'de> Deserialize<'de> for ScoreSummary
impl<'de> Deserialize<'de> for ScoreSummary
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
Source§impl From<&EvalScore> for ScoreSummary
impl From<&EvalScore> for ScoreSummary
Auto Trait Implementations§
impl Freeze for ScoreSummary
impl RefUnwindSafe for ScoreSummary
impl Send for ScoreSummary
impl Sync for ScoreSummary
impl Unpin for ScoreSummary
impl UnsafeUnpin for ScoreSummary
impl UnwindSafe for ScoreSummary
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