pub struct VisionVerdict {
pub status: VerdictStatus,
pub reason: String,
pub judge: Option<VisionJudge>,
pub observations: Vec<String>,
}Expand description
The verifier’s three-valued answer with a human-readable reason.
pass/fail are completed evaluations; unknown means the verifier
could not complete (unconfigured, low confidence, unusable image) and
carries the why. The verdict never panics its way out — model/transport
failures inside an implementation must fold to unknown (principle 4).
Fields§
§status: VerdictStatusThe three-valued status.
reason: StringWhy the verifier answered this way.
judge: Option<VisionJudge>Which judge answered, when a configured implementation did
(None from the stub — nothing judged).
observations: Vec<String>The judge’s self-reported on-screen facts (the look-then-judge
answer protocol), bounded by MAX_OBSERVATIONS and
MAX_OBSERVATION_CHARS; empty when none were reported.
Trait Implementations§
Source§impl Clone for VisionVerdict
impl Clone for VisionVerdict
Source§fn clone(&self) -> VisionVerdict
fn clone(&self) -> VisionVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VisionVerdict
impl Debug for VisionVerdict
Source§impl PartialEq for VisionVerdict
impl PartialEq for VisionVerdict
impl StructuralPartialEq for VisionVerdict
Auto Trait Implementations§
impl Freeze for VisionVerdict
impl RefUnwindSafe for VisionVerdict
impl Send for VisionVerdict
impl Sync for VisionVerdict
impl Unpin for VisionVerdict
impl UnsafeUnpin for VisionVerdict
impl UnwindSafe for VisionVerdict
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