#[non_exhaustive]pub struct Judgement {
pub verdict: Option<Verdict>,
pub score: Option<f64>,
pub reasoning: Option<String>,
}Expand description
A verdict and/or score read from a judge’s outputs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.verdict: Option<Verdict>§score: Option<f64>§reasoning: Option<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Judgement
Auto Trait Implementations§
impl Forget for Judgement
impl Freeze for Judgement
impl Move for Judgement
impl RefUnwindSafe for Judgement
impl Send for Judgement
impl Sync for Judgement
impl Unpin for Judgement
impl UnsafeUnpin for Judgement
impl UnwindSafe for Judgement
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