pub struct PrintJobOptions {
pub printer: Option<String>,
pub copies: u32,
pub duplex: PrintDuplex,
pub media: String,
pub job_name: String,
}Expand description
Configuration for submitting a native OS print job.
Fields§
§printer: Option<String>§copies: u32§duplex: PrintDuplex§media: String§job_name: StringTrait Implementations§
Source§impl Clone for PrintJobOptions
impl Clone for PrintJobOptions
Source§impl Debug for PrintJobOptions
impl Debug for PrintJobOptions
Source§impl Default for PrintJobOptions
impl Default for PrintJobOptions
impl Eq for PrintJobOptions
Source§impl PartialEq for PrintJobOptions
impl PartialEq for PrintJobOptions
impl StructuralPartialEq for PrintJobOptions
Auto Trait Implementations§
impl Forget for PrintJobOptions
impl Freeze for PrintJobOptions
impl Move for PrintJobOptions
impl RefUnwindSafe for PrintJobOptions
impl Send for PrintJobOptions
impl Sync for PrintJobOptions
impl Unpin for PrintJobOptions
impl UnsafeUnpin for PrintJobOptions
impl UnwindSafe for PrintJobOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.