pub struct VisionVerdict {
pub status: VerdictStatus,
pub reason: 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.
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