#[repr(C)]pub struct ExtendedCounters { /* private fields */ }
Expand description
Represents extended counters for a cash unit.
Implementations§
Source§impl ExtendedCounters
impl ExtendedCounters
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new ExtendedCounters.
Sourcepub const fn deposit(&self) -> &DepositCounters
pub const fn deposit(&self) -> &DepositCounters
Gets the DepositCounters for ExtendedCounters.
Sourcepub fn set_deposit(&mut self, val: DepositCounters)
pub fn set_deposit(&mut self, val: DepositCounters)
Sets the DepositCounters for ExtendedCounters.
Sourcepub fn with_deposit(self, val: DepositCounters) -> Self
pub fn with_deposit(self, val: DepositCounters) -> Self
Builder function that sets the DepositCounters for ExtendedCounters.
Sourcepub const fn dispense(&self) -> &DispenseCounters
pub const fn dispense(&self) -> &DispenseCounters
Gets the DispenseCounters for ExtendedCounters.
Sourcepub fn set_dispense(&mut self, val: DispenseCounters)
pub fn set_dispense(&mut self, val: DispenseCounters)
Sets the DispenseCounters for ExtendedCounters.
Sourcepub fn with_dispense(self, val: DispenseCounters) -> Self
pub fn with_dispense(self, val: DispenseCounters) -> Self
Builder function that sets the DispenseCounters for ExtendedCounters.
Trait Implementations§
Source§impl Clone for ExtendedCounters
impl Clone for ExtendedCounters
Source§fn clone(&self) -> ExtendedCounters
fn clone(&self) -> ExtendedCounters
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 ExtendedCounters
impl Debug for ExtendedCounters
Source§impl Default for ExtendedCounters
impl Default for ExtendedCounters
Source§impl Display for ExtendedCounters
impl Display for ExtendedCounters
Source§impl From<&DepositCounters> for ExtendedCounters
impl From<&DepositCounters> for ExtendedCounters
Source§fn from(val: &DepositCounters) -> Self
fn from(val: &DepositCounters) -> Self
Converts to this type from the input type.
Source§impl From<&DispenseCounters> for ExtendedCounters
impl From<&DispenseCounters> for ExtendedCounters
Source§fn from(val: &DispenseCounters) -> Self
fn from(val: &DispenseCounters) -> Self
Converts to this type from the input type.
Source§impl From<&ExtendedCounters> for XfsMember
impl From<&ExtendedCounters> for XfsMember
Source§fn from(val: &ExtendedCounters) -> Self
fn from(val: &ExtendedCounters) -> Self
Converts to this type from the input type.
Source§impl From<&ExtendedCounters> for XfsStruct
impl From<&ExtendedCounters> for XfsStruct
Source§fn from(val: &ExtendedCounters) -> Self
fn from(val: &ExtendedCounters) -> Self
Converts to this type from the input type.
Source§impl From<&ExtendedCounters> for XfsValue
impl From<&ExtendedCounters> for XfsValue
Source§fn from(val: &ExtendedCounters) -> Self
fn from(val: &ExtendedCounters) -> Self
Converts to this type from the input type.
Source§impl From<DepositCounters> for ExtendedCounters
impl From<DepositCounters> for ExtendedCounters
Source§fn from(val: DepositCounters) -> Self
fn from(val: DepositCounters) -> Self
Converts to this type from the input type.
Source§impl From<DispenseCounters> for ExtendedCounters
impl From<DispenseCounters> for ExtendedCounters
Source§fn from(val: DispenseCounters) -> Self
fn from(val: DispenseCounters) -> Self
Converts to this type from the input type.
Source§impl From<ExtendedCounters> for XfsMember
impl From<ExtendedCounters> for XfsMember
Source§fn from(val: ExtendedCounters) -> Self
fn from(val: ExtendedCounters) -> Self
Converts to this type from the input type.
Source§impl From<ExtendedCounters> for XfsStruct
impl From<ExtendedCounters> for XfsStruct
Source§fn from(val: ExtendedCounters) -> Self
fn from(val: ExtendedCounters) -> Self
Converts to this type from the input type.
Source§impl From<ExtendedCounters> for XfsValue
impl From<ExtendedCounters> for XfsValue
Source§fn from(val: ExtendedCounters) -> Self
fn from(val: ExtendedCounters) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExtendedCounters
impl PartialEq for ExtendedCounters
Source§impl TryFrom<&XfsMember> for ExtendedCounters
impl TryFrom<&XfsMember> for ExtendedCounters
Source§impl TryFrom<&XfsStruct> for ExtendedCounters
impl TryFrom<&XfsStruct> for ExtendedCounters
Source§impl TryFrom<&XfsValue> for ExtendedCounters
impl TryFrom<&XfsValue> for ExtendedCounters
Source§impl TryFrom<XfsMember> for ExtendedCounters
impl TryFrom<XfsMember> for ExtendedCounters
Source§impl TryFrom<XfsStruct> for ExtendedCounters
impl TryFrom<XfsStruct> for ExtendedCounters
Source§impl TryFrom<XfsValue> for ExtendedCounters
impl TryFrom<XfsValue> for ExtendedCounters
impl Copy for ExtendedCounters
impl StructuralPartialEq for ExtendedCounters
Auto Trait Implementations§
impl Freeze for ExtendedCounters
impl RefUnwindSafe for ExtendedCounters
impl Send for ExtendedCounters
impl Sync for ExtendedCounters
impl Unpin for ExtendedCounters
impl UnwindSafe for ExtendedCounters
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