pub struct UnattendedPrinterActivityPayload {
pub bed_target_c: Option<f64>,
pub detail: String,
pub last_print_id: PrintId,
pub moved: Option<bool>,
pub tools: Vec<HeatedTool>,
}Expand description
The printer heated or moved with no job running, soon after a print ended
interrupted or failed.
A transition rather than a reading: written once when such activity
begins,
and again only when what it reports changes. The printer’s rather than any
print’s, so it is written with no print; last_print_id names the print
it
came after.
Fields§
§bed_target_c: Option<f64>The bed’s target, when it is above zero; null otherwise.
detail: StringWhat the watch read, in words.
last_print_id: PrintIdThe print that ended before it.
moved: Option<bool>Whether the print head moved since the last position read, null when
no position could be read.
tools: Vec<HeatedTool>Every tool whose target is above zero.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UnattendedPrinterActivityPayload
impl<'de> Deserialize<'de> for UnattendedPrinterActivityPayload
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 StructuralPartialEq for UnattendedPrinterActivityPayload
Auto Trait Implementations§
impl Freeze for UnattendedPrinterActivityPayload
impl RefUnwindSafe for UnattendedPrinterActivityPayload
impl Send for UnattendedPrinterActivityPayload
impl Sync for UnattendedPrinterActivityPayload
impl Unpin for UnattendedPrinterActivityPayload
impl UnsafeUnpin for UnattendedPrinterActivityPayload
impl UnwindSafe for UnattendedPrinterActivityPayload
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