pub struct SampleScore {
pub request_id: Uuid,
pub verdict: JudgeVerdict,
pub reason: String,
}Expand description
One sampled request’s score.
Fields§
§request_id: UuidStable identifier of the source RequestLog.
verdict: JudgeVerdictThe judge’s classification.
reason: StringBest-effort one-line reason from the judge. Trimmed to 200 chars.
Trait Implementations§
Source§impl Clone for SampleScore
impl Clone for SampleScore
Source§fn clone(&self) -> SampleScore
fn clone(&self) -> SampleScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SampleScore
impl Debug for SampleScore
Source§impl<'de> Deserialize<'de> for SampleScore
impl<'de> Deserialize<'de> for SampleScore
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 SampleScore
impl RefUnwindSafe for SampleScore
impl Send for SampleScore
impl Sync for SampleScore
impl Unpin for SampleScore
impl UnsafeUnpin for SampleScore
impl UnwindSafe for SampleScore
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