pub struct Score {
pub value: f64,
pub note: String,
pub cost_usd: f64,
}Expand description
A 0–1 score with an explanation.
Fields§
§value: f64§note: String§cost_usd: f64What scoring itself cost (e.g. an LLM judge).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Score
impl RefUnwindSafe for Score
impl Send for Score
impl Sync for Score
impl Unpin for Score
impl UnsafeUnpin for Score
impl UnwindSafe for Score
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