pub struct PrintRecord {
pub end_reason: Option<String>,
pub ended_at: Option<Timestamp>,
pub file_name: Option<String>,
pub id: PrintId,
pub narrowings: Vec<ManifestNarrowing>,
pub opened_at: Timestamp,
pub provider_print_id: Option<i64>,
pub state: PrinterState,
}Expand description
One print, and the record supervision keys from.
The provider’s own print id is carried beside this record’s identifier rather than as it, because a print may be observed before the provider that reports it has one.
Fields§
§end_reason: Option<String>Why it ended, if it has.
ended_at: Option<Timestamp>When it ended, if it has.
file_name: Option<String>The file being printed, as the source reported it.
id: PrintIdThis print’s identifier, minted by the store.
narrowings: Vec<ManifestNarrowing>Every manifest range this print narrowed to the envelope’s.
opened_at: TimestampWhen the print was opened.
provider_print_id: Option<i64>The provider’s own identifier for the print, whichever provider reported it, when one has.
state: PrinterStateThe state the print is in.
Trait Implementations§
Source§impl Clone for PrintRecord
impl Clone for PrintRecord
Source§impl Debug for PrintRecord
impl Debug for PrintRecord
Source§impl<'de> Deserialize<'de> for PrintRecord
impl<'de> Deserialize<'de> for PrintRecord
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 PrintRecord
impl PartialEq for PrintRecord
Source§impl Serialize for PrintRecord
impl Serialize for PrintRecord
impl StructuralPartialEq for PrintRecord
Auto Trait Implementations§
impl Freeze for PrintRecord
impl RefUnwindSafe for PrintRecord
impl Send for PrintRecord
impl Sync for PrintRecord
impl Unpin for PrintRecord
impl UnsafeUnpin for PrintRecord
impl UnwindSafe for PrintRecord
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