pub struct PrinterIdentity {
pub model_id: u16,
pub protocol_version: Option<u8>,
pub firmware: Option<String>,
pub hardware: Option<String>,
}Expand description
Facts reported by a connected printer.
Fields§
§model_id: u16§protocol_version: Option<u8>§firmware: Option<String>§hardware: Option<String>Trait Implementations§
Source§impl Clone for PrinterIdentity
impl Clone for PrinterIdentity
Source§impl Debug for PrinterIdentity
impl Debug for PrinterIdentity
impl Eq for PrinterIdentity
Source§impl PartialEq for PrinterIdentity
impl PartialEq for PrinterIdentity
Source§impl Serialize for PrinterIdentity
impl Serialize for PrinterIdentity
impl StructuralPartialEq for PrinterIdentity
Auto Trait Implementations§
impl Freeze for PrinterIdentity
impl RefUnwindSafe for PrinterIdentity
impl Send for PrinterIdentity
impl Sync for PrinterIdentity
impl Unpin for PrinterIdentity
impl UnsafeUnpin for PrinterIdentity
impl UnwindSafe for PrinterIdentity
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