pub struct CameraLookPayload {
pub waited_s: u32,
pub delivered: Vec<EventId>,
pub frame_captured_at: Option<Timestamp>,
}Expand description
Somebody took a fresh look at the print, or at the printer when no print was named.
Written down once the camera has been asked for its frame, together with that frame as this event’s image, so that nobody reading the look finds it without the frame it was taken with. A frame the camera would not give is recorded against the look as a port failure. A look at the printer belongs to no print, waits on nothing that arrives for one, and so delivers nothing.
Fields§
§waited_s: u32How long the look waited for something to happen before it was taken, in whole seconds.
delivered: Vec<EventId>The events for the print that arrived while it waited, and that it handed to whoever looked, oldest first.
frame_captured_at: Option<Timestamp>When the frame this look answered was captured, which its source says or the moment it answered; absent when there is no frame. Two looks naming one instant saw one frame: no newer one had been taken.
Trait Implementations§
Source§impl Clone for CameraLookPayload
impl Clone for CameraLookPayload
Source§impl Debug for CameraLookPayload
impl Debug for CameraLookPayload
Source§impl<'de> Deserialize<'de> for CameraLookPayload
impl<'de> Deserialize<'de> for CameraLookPayload
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 Eq for CameraLookPayload
Source§impl EventPayload for CameraLookPayload
impl EventPayload for CameraLookPayload
Source§impl JsonSchema for CameraLookPayload
impl JsonSchema for CameraLookPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more