#[repr(u8)]pub enum CassetteAttached {
Unset = 0,
Set = 1,
}Expand description
Unset: the cash box has been removed. No documents may be accepted. The device is out of service until the issue is corrected.
Set: the cash box is attached to the device.
Variants§
Trait Implementations§
Source§impl Clone for CassetteAttached
impl Clone for CassetteAttached
Source§fn clone(&self) -> CassetteAttached
fn clone(&self) -> CassetteAttached
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 moreimpl Copy for CassetteAttached
Source§impl Debug for CassetteAttached
impl Debug for CassetteAttached
Source§impl Display for CassetteAttached
impl Display for CassetteAttached
Source§impl From<&CassetteAttached> for bool
impl From<&CassetteAttached> for bool
Source§fn from(n: &CassetteAttached) -> Self
fn from(n: &CassetteAttached) -> Self
Converts to this type from the input type.
Source§impl From<&CassetteAttached> for u8
impl From<&CassetteAttached> for u8
Source§fn from(n: &CassetteAttached) -> Self
fn from(n: &CassetteAttached) -> Self
Converts to this type from the input type.
Source§impl From<&CassetteAttached> for &'static str
impl From<&CassetteAttached> for &'static str
Source§fn from(name: &CassetteAttached) -> Self
fn from(name: &CassetteAttached) -> Self
Converts to this type from the input type.
Source§impl From<CassetteAttached> for bool
impl From<CassetteAttached> for bool
Source§fn from(n: CassetteAttached) -> Self
fn from(n: CassetteAttached) -> Self
Converts to this type from the input type.
Source§impl From<CassetteAttached> for u8
impl From<CassetteAttached> for u8
Source§fn from(n: CassetteAttached) -> Self
fn from(n: CassetteAttached) -> Self
Converts to this type from the input type.
Source§impl From<CassetteAttached> for &'static str
impl From<CassetteAttached> for &'static str
Source§fn from(name: CassetteAttached) -> Self
fn from(name: CassetteAttached) -> Self
Converts to this type from the input type.
Source§impl From<bool> for CassetteAttached
impl From<bool> for CassetteAttached
Source§impl From<u8> for CassetteAttached
impl From<u8> for CassetteAttached
Source§impl PartialEq for CassetteAttached
impl PartialEq for CassetteAttached
Source§fn eq(&self, other: &CassetteAttached) -> bool
fn eq(&self, other: &CassetteAttached) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CassetteAttached
Auto Trait Implementations§
impl Freeze for CassetteAttached
impl RefUnwindSafe for CassetteAttached
impl Send for CassetteAttached
impl Sync for CassetteAttached
impl Unpin for CassetteAttached
impl UnsafeUnpin for CassetteAttached
impl UnwindSafe for CassetteAttached
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