pub struct PrintEndedPayload {
pub last_position: Option<FilePosition>,
pub outcome: PrintOutcome,
pub reason: String,
pub state: PrinterState,
}Expand description
A print ended.
Fields§
§last_position: Option<FilePosition>How far into its file it last read, when that was read.
outcome: PrintOutcomeHow it ended.
reason: StringWhy it ended, in the words the end was recorded with.
state: PrinterStateThe state the printer was in as it ended.
Trait Implementations§
Source§impl Clone for PrintEndedPayload
impl Clone for PrintEndedPayload
Source§impl Debug for PrintEndedPayload
impl Debug for PrintEndedPayload
Source§impl<'de> Deserialize<'de> for PrintEndedPayload
impl<'de> Deserialize<'de> for PrintEndedPayload
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 EventPayloadKind for PrintEndedPayload
impl EventPayloadKind for PrintEndedPayload
Source§impl PartialEq for PrintEndedPayload
impl PartialEq for PrintEndedPayload
Source§impl Serialize for PrintEndedPayload
impl Serialize for PrintEndedPayload
impl StructuralPartialEq for PrintEndedPayload
Auto Trait Implementations§
impl Freeze for PrintEndedPayload
impl RefUnwindSafe for PrintEndedPayload
impl Send for PrintEndedPayload
impl Sync for PrintEndedPayload
impl Unpin for PrintEndedPayload
impl UnsafeUnpin for PrintEndedPayload
impl UnwindSafe for PrintEndedPayload
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