pub struct PrintOptions {
pub copies: u16,
pub page_size: Option<String>,
pub duplex: Option<String>,
pub color: Option<String>,
pub orientation: Option<String>,
pub resolution: Option<String>,
}Fields§
§copies: u16§page_size: Option<String>§duplex: Option<String>§color: Option<String>§orientation: Option<String>§resolution: Option<String>Trait Implementations§
Source§impl Clone for PrintOptions
impl Clone for PrintOptions
Source§fn clone(&self) -> PrintOptions
fn clone(&self) -> PrintOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrintOptions
impl Debug for PrintOptions
Source§impl Default for PrintOptions
impl Default for PrintOptions
Source§impl<'de> Deserialize<'de> for PrintOptionswhere
PrintOptions: Default,
impl<'de> Deserialize<'de> for PrintOptionswhere
PrintOptions: Default,
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
Auto Trait Implementations§
impl Freeze for PrintOptions
impl RefUnwindSafe for PrintOptions
impl Send for PrintOptions
impl Sync for PrintOptions
impl Unpin for PrintOptions
impl UnsafeUnpin for PrintOptions
impl UnwindSafe for PrintOptions
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