pub struct FieldsMatch(pub Vec<String>);Expand description
Fraction of these structured-output fields equal to the baseline’s.
Tuple Fields§
§0: Vec<String>Implementations§
Trait Implementations§
Source§impl Scorer for FieldsMatch
impl Scorer for FieldsMatch
fn name(&self) -> String
fn score<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
case: &'life1 EvalCase,
c: &'life2 RunSummary,
) -> Pin<Box<dyn Future<Output = Score> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for FieldsMatch
impl RefUnwindSafe for FieldsMatch
impl Send for FieldsMatch
impl Sync for FieldsMatch
impl Unpin for FieldsMatch
impl UnsafeUnpin for FieldsMatch
impl UnwindSafe for FieldsMatch
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