pub struct EmapiPrintStatus {
pub paper_status: Option<u8>,
pub cover_status: Option<u8>,
pub low_battery: Option<u8>,
pub overheat: Option<u8>,
pub battery_percent: Option<u8>,
pub battery_voltage: Option<u16>,
pub tph_temperature: Option<i8>,
}Fields§
§paper_status: Option<u8>§cover_status: Option<u8>§low_battery: Option<u8>§overheat: Option<u8>§battery_percent: Option<u8>§battery_voltage: Option<u16>§tph_temperature: Option<i8>Trait Implementations§
Source§impl Clone for EmapiPrintStatus
impl Clone for EmapiPrintStatus
Source§fn clone(&self) -> EmapiPrintStatus
fn clone(&self) -> EmapiPrintStatus
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 EmapiPrintStatus
impl Debug for EmapiPrintStatus
Source§impl Default for EmapiPrintStatus
impl Default for EmapiPrintStatus
Source§fn default() -> EmapiPrintStatus
fn default() -> EmapiPrintStatus
Returns the “default value” for a type. Read more
impl Eq for EmapiPrintStatus
Source§impl PartialEq for EmapiPrintStatus
impl PartialEq for EmapiPrintStatus
Source§fn eq(&self, other: &EmapiPrintStatus) -> bool
fn eq(&self, other: &EmapiPrintStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmapiPrintStatus
Auto Trait Implementations§
impl Freeze for EmapiPrintStatus
impl RefUnwindSafe for EmapiPrintStatus
impl Send for EmapiPrintStatus
impl Sync for EmapiPrintStatus
impl Unpin for EmapiPrintStatus
impl UnsafeUnpin for EmapiPrintStatus
impl UnwindSafe for EmapiPrintStatus
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