pub struct PrintOption {
pub supported_dpis: Option<Vec<i32>>,
pub supported_page_layouts: Vec<String>,
pub supported_file_joining_options: Vec<bool>,
pub supported_document_details: Vec<SupportedDocumentDetail>,
}Expand description
PrintOption : The format options available for a label.
Fields§
§supported_dpis: Option<Vec<i32>>A list of the supported DPI options for a document.
supported_page_layouts: Vec<String>A list of the supported page layout options for a document.
supported_file_joining_options: Vec<bool>A list of the supported needFileJoining boolean values for a document.
supported_document_details: Vec<SupportedDocumentDetail>A list of the supported documented details.
Implementations§
Source§impl PrintOption
impl PrintOption
Sourcepub fn new(
supported_page_layouts: Vec<String>,
supported_file_joining_options: Vec<bool>,
supported_document_details: Vec<SupportedDocumentDetail>,
) -> PrintOption
pub fn new( supported_page_layouts: Vec<String>, supported_file_joining_options: Vec<bool>, supported_document_details: Vec<SupportedDocumentDetail>, ) -> PrintOption
The format options available for a label.
Trait Implementations§
Source§impl Clone for PrintOption
impl Clone for PrintOption
Source§fn clone(&self) -> PrintOption
fn clone(&self) -> PrintOption
Returns a duplicate of the value. Read more
1.0.0 · 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 PrintOption
impl Debug for PrintOption
Source§impl Default for PrintOption
impl Default for PrintOption
Source§fn default() -> PrintOption
fn default() -> PrintOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrintOption
impl<'de> Deserialize<'de> for PrintOption
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
Source§impl PartialEq for PrintOption
impl PartialEq for PrintOption
Source§impl Serialize for PrintOption
impl Serialize for PrintOption
impl StructuralPartialEq for PrintOption
Auto Trait Implementations§
impl Freeze for PrintOption
impl RefUnwindSafe for PrintOption
impl Send for PrintOption
impl Sync for PrintOption
impl Unpin for PrintOption
impl UnwindSafe for PrintOption
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