#[repr(u32)]pub enum IntermediateEvent {
InputRefused = 6_209,
SubCashIn = 6_140,
BccInserted = 6_141,
NotSupported = 4_294_967_295,
}
Expand description
Cash Module intermediate event.
Variants§
InputRefused = 6_209
Input refused.
SubCashIn = 6_140
A bill has been recognized during a cash in transaction, but the amount requested has not been reached yet.
BccInserted = 6_141
A coupon with barcode has been inserted and recognized during a cash in transaction, the BNR then waits for a set_recognition_result()
call.
NotSupported = 4_294_967_295
Unsupported IntermediateEvent number.
Implementations§
Source§impl IntermediateEvent
impl IntermediateEvent
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new IntermediateEvent.
Sourcepub const fn create(val: u32) -> Self
pub const fn create(val: u32) -> Self
Creates a new IntermediateEvent from the provided parameter.
Trait Implementations§
Source§impl Clone for IntermediateEvent
impl Clone for IntermediateEvent
Source§fn clone(&self) -> IntermediateEvent
fn clone(&self) -> IntermediateEvent
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 IntermediateEvent
impl Debug for IntermediateEvent
Source§impl Default for IntermediateEvent
impl Default for IntermediateEvent
Source§fn default() -> IntermediateEvent
fn default() -> IntermediateEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntermediateEvent
impl<'de> Deserialize<'de> for IntermediateEvent
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 Display for IntermediateEvent
impl Display for IntermediateEvent
Source§impl From<&IntermediateEvent> for &'static str
impl From<&IntermediateEvent> for &'static str
Source§fn from(val: &IntermediateEvent) -> Self
fn from(val: &IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<&IntermediateEvent> for XfsMember
impl From<&IntermediateEvent> for XfsMember
Source§fn from(val: &IntermediateEvent) -> Self
fn from(val: &IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<&IntermediateEvent> for XfsValue
impl From<&IntermediateEvent> for XfsValue
Source§fn from(val: &IntermediateEvent) -> Self
fn from(val: &IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<&IntermediateEvent> for i32
impl From<&IntermediateEvent> for i32
Source§fn from(val: &IntermediateEvent) -> Self
fn from(val: &IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<&IntermediateEvent> for u32
impl From<&IntermediateEvent> for u32
Source§fn from(val: &IntermediateEvent) -> Self
fn from(val: &IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<&i32> for IntermediateEvent
impl From<&i32> for IntermediateEvent
Source§impl From<&u32> for IntermediateEvent
impl From<&u32> for IntermediateEvent
Source§impl From<IntermediateEvent> for XfsMember
impl From<IntermediateEvent> for XfsMember
Source§fn from(val: IntermediateEvent) -> Self
fn from(val: IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<IntermediateEvent> for XfsValue
impl From<IntermediateEvent> for XfsValue
Source§fn from(val: IntermediateEvent) -> Self
fn from(val: IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<IntermediateEvent> for i32
impl From<IntermediateEvent> for i32
Source§fn from(val: IntermediateEvent) -> Self
fn from(val: IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<IntermediateEvent> for u32
impl From<IntermediateEvent> for u32
Source§fn from(val: IntermediateEvent) -> Self
fn from(val: IntermediateEvent) -> Self
Converts to this type from the input type.
Source§impl From<i32> for IntermediateEvent
impl From<i32> for IntermediateEvent
Source§impl From<u32> for IntermediateEvent
impl From<u32> for IntermediateEvent
Source§impl PartialEq for IntermediateEvent
impl PartialEq for IntermediateEvent
Source§impl Serialize for IntermediateEvent
impl Serialize for IntermediateEvent
Source§impl TryFrom<&XfsMember> for IntermediateEvent
impl TryFrom<&XfsMember> for IntermediateEvent
Source§impl TryFrom<&XfsValue> for IntermediateEvent
impl TryFrom<&XfsValue> for IntermediateEvent
Source§impl TryFrom<XfsMember> for IntermediateEvent
impl TryFrom<XfsMember> for IntermediateEvent
Source§impl TryFrom<XfsValue> for IntermediateEvent
impl TryFrom<XfsValue> for IntermediateEvent
impl Copy for IntermediateEvent
impl StructuralPartialEq for IntermediateEvent
Auto Trait Implementations§
impl Freeze for IntermediateEvent
impl RefUnwindSafe for IntermediateEvent
impl Send for IntermediateEvent
impl Sync for IntermediateEvent
impl Unpin for IntermediateEvent
impl UnwindSafe for IntermediateEvent
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