pub struct TurnCheckImage {
pub event_id: EventId,
pub path: PathBuf,
pub note: Option<String>,
pub kind: Option<ImageKind>,
pub fallback: Option<ImageFallback>,
pub frame_captured_at: Option<Timestamp>,
}Expand description
The image one supervision turn was handed: where it is, which event it was the check of, and what the turn was told about it.
Fields§
§event_id: EventIdThe event the turn was about — the observation or alert whose check this image is.
path: PathBufWhere the image’s bytes are, absolute on the supervisor’s own host.
note: Option<String>The line the turn was told what the image is in; absent when what made it said nothing.
kind: Option<ImageKind>Which image it is; absent when what made it did not say.
fallback: Option<ImageFallback>Why it is the whole frame; absent for the three-panel image, or when what made it gave no reason.
frame_captured_at: Option<Timestamp>When the frame it shows was captured, when the turn was told.
Trait Implementations§
Source§impl Clone for TurnCheckImage
impl Clone for TurnCheckImage
Source§impl Debug for TurnCheckImage
impl Debug for TurnCheckImage
Source§impl<'de> Deserialize<'de> for TurnCheckImage
impl<'de> Deserialize<'de> for TurnCheckImage
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
impl Eq for TurnCheckImage
Source§impl JsonSchema for TurnCheckImage
impl JsonSchema for TurnCheckImage
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 TurnCheckImage
impl PartialEq for TurnCheckImage
Source§impl Sample for TurnCheckImage
impl Sample for TurnCheckImage
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 TurnCheckImage
impl Serialize for TurnCheckImage
impl StructuralPartialEq for TurnCheckImage
Auto Trait Implementations§
impl Forget for TurnCheckImage
impl Freeze for TurnCheckImage
impl Move for TurnCheckImage
impl RefUnwindSafe for TurnCheckImage
impl Send for TurnCheckImage
impl Sync for TurnCheckImage
impl Unpin for TurnCheckImage
impl UnsafeUnpin for TurnCheckImagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for TurnCheckImage
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