pub struct EmapiPrinterInfo {
pub device_type: Option<String>,
pub device_model: Option<String>,
pub brand: Option<String>,
pub serial_number: Option<String>,
pub hardware_version: Option<String>,
pub software_version: Option<String>,
pub boot_version: Option<String>,
pub mtu: Option<u16>,
}Fields§
§device_type: Option<String>§device_model: Option<String>§brand: Option<String>§serial_number: Option<String>§hardware_version: Option<String>§software_version: Option<String>§boot_version: Option<String>§mtu: Option<u16>Trait Implementations§
Source§impl Clone for EmapiPrinterInfo
impl Clone for EmapiPrinterInfo
Source§fn clone(&self) -> EmapiPrinterInfo
fn clone(&self) -> EmapiPrinterInfo
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 EmapiPrinterInfo
impl Debug for EmapiPrinterInfo
Source§impl Default for EmapiPrinterInfo
impl Default for EmapiPrinterInfo
Source§fn default() -> EmapiPrinterInfo
fn default() -> EmapiPrinterInfo
Returns the “default value” for a type. Read more
impl Eq for EmapiPrinterInfo
Source§impl PartialEq for EmapiPrinterInfo
impl PartialEq for EmapiPrinterInfo
Source§fn eq(&self, other: &EmapiPrinterInfo) -> bool
fn eq(&self, other: &EmapiPrinterInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmapiPrinterInfo
Auto Trait Implementations§
impl Freeze for EmapiPrinterInfo
impl RefUnwindSafe for EmapiPrinterInfo
impl Send for EmapiPrinterInfo
impl Sync for EmapiPrinterInfo
impl Unpin for EmapiPrinterInfo
impl UnsafeUnpin for EmapiPrinterInfo
impl UnwindSafe for EmapiPrinterInfo
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