pub struct PrinterResetPayload {
pub detail: String,
pub during_print: Option<PrintId>,
}Expand description
The printer reset: its firmware restarted, and whatever it held is gone.
Recorded on each reset the printer pushed, one while idle included, which
changes nothing a read of its state reports. The printer’s rather than any
print’s, so it is written with no print; during_print names the print it
happened during, when one was running.
Fields§
§detail: StringWhat the watch knew of it, in words.
during_print: Option<PrintId>The print that was running when it reset, null when none was.
Trait Implementations§
Source§impl Clone for PrinterResetPayload
impl Clone for PrinterResetPayload
Source§impl Debug for PrinterResetPayload
impl Debug for PrinterResetPayload
Source§impl<'de> Deserialize<'de> for PrinterResetPayload
impl<'de> Deserialize<'de> for PrinterResetPayload
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
Source§impl PartialEq for PrinterResetPayload
impl PartialEq for PrinterResetPayload
Source§impl Serialize for PrinterResetPayload
impl Serialize for PrinterResetPayload
impl StructuralPartialEq for PrinterResetPayload
Auto Trait Implementations§
impl Freeze for PrinterResetPayload
impl RefUnwindSafe for PrinterResetPayload
impl Send for PrinterResetPayload
impl Sync for PrinterResetPayload
impl Unpin for PrinterResetPayload
impl UnsafeUnpin for PrinterResetPayload
impl UnwindSafe for PrinterResetPayload
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