pub struct CheckImageRequest<'a> {
pub print_id: Option<PrintId>,
pub frame: &'a Path,
pub frame_sha256: &'a str,
pub own_camera: bool,
pub paused: bool,
pub captured_at: Timestamp,
pub made_for: ImageUse,
pub plan: Option<PlanPosition>,
pub camera_check: Option<EventRecord>,
}Expand description
One request for a check’s image of a stored frame.
Fields§
§print_id: Option<PrintId>The print the image is of; none for a look at the printer.
frame: &'a PathWhere the stored frame is.
frame_sha256: &'a strThe stored frame’s SHA-256, as the image store names it: what a record of a judgement made on it names.
own_camera: boolWhether the frame is the configured camera’s own rather than a detector’s picture: only the camera’s own frames are judged against its calibration.
paused: boolWhether the printer reported the print paused as the check began, its bed moved off the plan’s height.
captured_at: TimestampWhen the frame was captured.
made_for: ImageUseWhat the image is for.
plan: Option<PlanPosition>Where the print stood in its G-code, when its job is its own file and reported a position the index was read for.
camera_check: Option<EventRecord>The record of the camera check the print started under, which it is drawn through from its first check; none when it started under none, or for a look at the printer.