pub struct CameraViewJudgedPayload {
pub frame_sha256: String,
pub outcome: ViewOutcome,
pub view_correction: Option<ViewCorrection>,
pub reason: Option<String>,
}Expand description
One judgement of a print’s camera view, on one frame: one for every judgement, whatever it found and whether or not it repeats the last.
Fields§
§frame_sha256: StringThe stored frame it was judged on.
outcome: ViewOutcomeWhat it found.
view_correction: Option<ViewCorrection>The correction in force when the frame was judged; null when none was.
reason: Option<String>Why the frame may not be drawn on: for the three refusals, and for a refit view, whose camera has moved since its calibration; null for an unshifted one.
Trait Implementations§
Source§impl Clone for CameraViewJudgedPayload
impl Clone for CameraViewJudgedPayload
Source§impl Debug for CameraViewJudgedPayload
impl Debug for CameraViewJudgedPayload
Source§impl<'de> Deserialize<'de> for CameraViewJudgedPayload
impl<'de> Deserialize<'de> for CameraViewJudgedPayload
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CameraViewJudgedPayload
impl JsonSchema for CameraViewJudgedPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CameraViewJudgedPayload
impl PartialEq for CameraViewJudgedPayload
Source§impl Sample for CameraViewJudgedPayload
impl Sample for CameraViewJudgedPayload
Source§fn sample_full() -> Self
fn sample_full() -> Self
A value carrying every field the type declares.
Source§fn sample_minimal() -> Self
fn sample_minimal() -> Self
A value carrying every optional field absent.
Source§fn sample_alternates() -> Vec<Self>
fn sample_alternates() -> Vec<Self>
One value per further arm, for a type whose wire form is a union. Read more
Source§impl Serialize for CameraViewJudgedPayload
impl Serialize for CameraViewJudgedPayload
impl StructuralPartialEq for CameraViewJudgedPayload
Auto Trait Implementations§
impl Forget for CameraViewJudgedPayload
impl Freeze for CameraViewJudgedPayload
impl Move for CameraViewJudgedPayload
impl RefUnwindSafe for CameraViewJudgedPayload
impl Send for CameraViewJudgedPayloadwhere
RawVecInner: Send,
impl Sync for CameraViewJudgedPayloadwhere
RawVecInner: Sync,
impl Unpin for CameraViewJudgedPayload
impl UnsafeUnpin for CameraViewJudgedPayloadwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ReferenceLandmark>: UnsafeUnpin,
impl UnwindSafe for CameraViewJudgedPayloadwhere
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.