#[non_exhaustive]pub struct Score {
pub value: u8,
pub weights_run: u8,
pub grade: Grade,
pub axes: Vec<AxisScore>,
pub structural: Option<StructuralReport>,
pub uec: Option<UecReport>,
pub iso15415: Option<Iso15415Report>,
}Expand description
Scannability score — survival ramps, structural caps and the UEC margin
cap (spec/04-score.md). Validation, NOT ISO verification (no calibrated
optics). A present score is a COMPLETE judgment: its calibration and
every planned stress cell ran, so no budget moves it — only a knee
bisection (AxisScore::refined_failed_at) may be missing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: u8Composite 0-100 (weighted axis survival, then the structural caps and the UEC margin cap).
weights_run: u8Σ contract weights of the axes that RAN (100 = the full six-axis
contract · 70 with perspective+rotation skipped). The honesty
integer: a score on skipped axes SAYS how much contract stands
behind it — two 85s with different weights_run are different
promises. Only skipped axes lower it, never the budget.
Lenient default 0 when parsing pre-0.9 reports.
grade: GradeInterpretation band for value.
axes: Vec<AxisScore>Per-axis survival breakdown.
structural: Option<StructuralReport>Structural checks — None when no geometry was measured.
uec: Option<UecReport>Synthetic UEC margin — None when no stream error-corrects
errors-only under the detection’s format (then no margin cap and no
margin hint either), or when the uec check is skipped (the measured
margin still caps value).
iso15415: Option<Iso15415Report>ISO 15415-informed grade card — None when no geometry was measured.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Score
impl<'de> Deserialize<'de> for Score
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>,
impl StructuralPartialEq for Score
Auto Trait Implementations§
impl Forget for Score
impl Freeze for Score
impl Move for Score
impl RefUnwindSafe for Score
impl Send for Scorewhere
RawVecInner: Send,
impl Sync for Scorewhere
RawVecInner: Sync,
impl Unpin for Score
impl UnsafeUnpin for Score
impl UnwindSafe for Scorewhere
RawVecInner: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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