pub struct PrintListing {
pub prints: Vec<PrintRecord>,
pub active: Option<PrintId>,
}Expand description
Every print, and the one the printer is running now.
Fields§
§prints: Vec<PrintRecord>Every print, ended or not, most recently opened first.
active: Option<PrintId>The print the printer’s job belongs to, present exactly when the printer
reports a job in one of ACTIVE_STATES with a file name.
Trait Implementations§
Source§impl Clone for PrintListing
impl Clone for PrintListing
Source§impl Debug for PrintListing
impl Debug for PrintListing
Source§impl PartialEq for PrintListing
impl PartialEq for PrintListing
impl StructuralPartialEq for PrintListing
Auto Trait Implementations§
impl Forget for PrintListing
impl Freeze for PrintListing
impl RefUnwindSafe for PrintListing
impl Send for PrintListing
impl Sync for PrintListing
impl Unpin for PrintListing
impl UnsafeUnpin for PrintListing
impl UnwindSafe for PrintListing
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