pub struct Look {
pub arrived: Option<Vec<EventRecord>>,
pub detector_paused: bool,
pub event: EventRecord,
pub frame: Option<ImageRef>,
pub image_path: Option<String>,
pub job: Option<JobSnapshot>,
pub printer: Option<PrinterSnapshot>,
}Expand description
One fresh look at a print.
An answer rather than a record, so it admits fields beside its own the way every answer of the server does: a client that could not open the frame’s path says so in a field of its own beside the rest of the answer.
Fields§
§arrived: Option<Vec<EventRecord>>The events for this print that arrived while the look waited, oldest first; the look returned early when there were any.
detector_paused: boolWhether the print is paused and the pause is the detector’s, which is what an adjustment asked for now would be applied under.
event: EventRecordThe look itself, as it was written into the print’s history, carrying the frame as its image when there is one.
frame: Option<ImageRef>The frame the camera gave, absent when no camera is configured or it gave none — which the history records as a port failure.
image_path: Option<String>The absolute path the frame’s bytes are at, on the supervisor’s host.
job: Option<JobSnapshot>The job the printer reports now, absent when it could not be read.
printer: Option<PrinterSnapshot>The printer’s state now, absent when it could not be read.