pub struct PrintJob {
pub id: PrintJobId,
pub document_name: String,
pub data: Vec<u8>,
pub status: PrintJobStatus,
pub copies: u32,
pub pages: u32,
pub page_start: u32,
pub page_end: u32,
}Expand description
A print job.
Fields§
§id: PrintJobIdUnique identifier.
document_name: StringName of the document being printed.
data: Vec<u8>Raw document data.
status: PrintJobStatusCurrent status.
copies: u32Number of copies requested.
pages: u32Total number of pages (0 = unknown).
page_start: u32Page range start (1-based, 0 = all).
page_end: u32Page range end (0 = all).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrintJob
impl RefUnwindSafe for PrintJob
impl Send for PrintJob
impl Sync for PrintJob
impl Unpin for PrintJob
impl UnwindSafe for PrintJob
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)