pub struct JudgeRow {
pub judge: usize,
pub agent: String,
pub ranking: String,
pub confidence: Option<u8>,
pub failed: Option<String>,
pub reasons: BTreeMap<String, String>,
pub reasons_md: BTreeMap<String, Vec<Node>>,
}Expand description
One judge’s ranking.
Fields§
§judge: usizeSeat number.
agent: StringAgent.
ranking: StringRanking, best first; empty when none.
confidence: Option<u8>Confidence, when given.
failed: Option<String>Why no ranking, when none.
reasons: BTreeMap<String, String>Per-candidate justifications, verbatim.
reasons_md: BTreeMap<String, Vec<Node>>Parsed markdown for each candidate’s justification.
Trait Implementations§
Auto Trait Implementations§
impl Forget for JudgeRow
impl Freeze for JudgeRow
impl Move for JudgeRow
impl RefUnwindSafe for JudgeRow
impl Send for JudgeRow
impl Sync for JudgeRow
impl Unpin for JudgeRow
impl UnsafeUnpin for JudgeRowwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, Vec<Node>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<Node>)>>: UnsafeUnpin,
impl UnwindSafe for JudgeRowwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Vec<Node>>: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more