pub struct ScoreEntry {
pub case: String,
pub subject: ContentDigest,
pub outcome: ScoreOutcome,
pub judge_run: Option<ContentDigest>,
}Fields§
§case: String§subject: ContentDigest§outcome: ScoreOutcome§judge_run: Option<ContentDigest>The judge’s run record digest for a model scorer; null otherwise.
Implementations§
Source§impl ScoreEntry
impl ScoreEntry
Sourcepub fn of(entry: &ViewEntry, outcome: ScoreOutcome) -> ScoreEntry
pub fn of(entry: &ViewEntry, outcome: ScoreOutcome) -> ScoreEntry
The entry recording outcome for one view entry, with no judge run.
Trait Implementations§
Source§impl Clone for ScoreEntry
impl Clone for ScoreEntry
Source§impl Debug for ScoreEntry
impl Debug for ScoreEntry
Source§impl<'de> Deserialize<'de> for ScoreEntry
impl<'de> Deserialize<'de> for ScoreEntry
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 PartialEq for ScoreEntry
impl PartialEq for ScoreEntry
Source§impl Serialize for ScoreEntry
impl Serialize for ScoreEntry
impl StructuralPartialEq for ScoreEntry
Auto Trait Implementations§
impl Freeze for ScoreEntry
impl RefUnwindSafe for ScoreEntry
impl Send for ScoreEntry
impl Sync for ScoreEntry
impl Unpin for ScoreEntry
impl UnsafeUnpin for ScoreEntry
impl UnwindSafe for ScoreEntry
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