pub struct FileTally {
pub file_name: String,
pub origin: String,
pub generation: u32,
pub successes: i64,
pub failures: i64,
pub observed_at: Timestamp,
}Expand description
The printer’s own count of the prints of one file, as last accounted.
Fields§
§file_name: StringThe file.
origin: StringWhere the file lives, in the printer’s own vocabulary.
generation: u32The tally generation, which starts at 0 and only ever advances: it advances each time the printer’s tally for the file is reset.
successes: i64The completed prints the tally counts.
failures: i64The failed prints the tally counts.
observed_at: TimestampWhen the tally was read.
Trait Implementations§
impl Eq for FileTally
impl StructuralPartialEq for FileTally
Auto Trait Implementations§
impl Freeze for FileTally
impl RefUnwindSafe for FileTally
impl Send for FileTally
impl Sync for FileTally
impl Unpin for FileTally
impl UnsafeUnpin for FileTally
impl UnwindSafe for FileTally
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