pub struct ExtendedCounters { /* private fields */ }Expand description
Represents extended counters for a cash unit.
Implementations§
Source§impl ExtendedCounters
impl ExtendedCounters
Sourcepub const fn new() -> ExtendedCounters
pub const fn new() -> ExtendedCounters
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) -> ExtendedCounters
pub fn with_deposit(self, val: DepositCounters) -> ExtendedCounters
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) -> ExtendedCounters
pub fn with_dispense(self, val: DispenseCounters) -> ExtendedCounters
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§fn default() -> ExtendedCounters
fn default() -> ExtendedCounters
Returns the “default value” for a type. Read more
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) -> ExtendedCounters
fn from(val: &DepositCounters) -> ExtendedCounters
Converts to this type from the input type.
Source§impl From<&DispenseCounters> for ExtendedCounters
impl From<&DispenseCounters> for ExtendedCounters
Source§fn from(val: &DispenseCounters) -> ExtendedCounters
fn from(val: &DispenseCounters) -> ExtendedCounters
Converts to this type from the input type.
Source§impl From<&ExtendedCounters> for XfsMember
impl From<&ExtendedCounters> for XfsMember
Source§fn from(val: &ExtendedCounters) -> XfsMember
fn from(val: &ExtendedCounters) -> XfsMember
Converts to this type from the input type.
Source§impl From<&ExtendedCounters> for XfsStruct
impl From<&ExtendedCounters> for XfsStruct
Source§fn from(val: &ExtendedCounters) -> XfsStruct
fn from(val: &ExtendedCounters) -> XfsStruct
Converts to this type from the input type.
Source§impl From<&ExtendedCounters> for XfsValue
impl From<&ExtendedCounters> for XfsValue
Source§fn from(val: &ExtendedCounters) -> XfsValue
fn from(val: &ExtendedCounters) -> XfsValue
Converts to this type from the input type.
Source§impl From<DepositCounters> for ExtendedCounters
impl From<DepositCounters> for ExtendedCounters
Source§fn from(val: DepositCounters) -> ExtendedCounters
fn from(val: DepositCounters) -> ExtendedCounters
Converts to this type from the input type.
Source§impl From<DispenseCounters> for ExtendedCounters
impl From<DispenseCounters> for ExtendedCounters
Source§fn from(val: DispenseCounters) -> ExtendedCounters
fn from(val: DispenseCounters) -> ExtendedCounters
Converts to this type from the input type.
Source§impl From<ExtendedCounters> for XfsMember
impl From<ExtendedCounters> for XfsMember
Source§fn from(val: ExtendedCounters) -> XfsMember
fn from(val: ExtendedCounters) -> XfsMember
Converts to this type from the input type.
Source§impl From<ExtendedCounters> for XfsStruct
impl From<ExtendedCounters> for XfsStruct
Source§fn from(val: ExtendedCounters) -> XfsStruct
fn from(val: ExtendedCounters) -> XfsStruct
Converts to this type from the input type.
Source§impl From<ExtendedCounters> for XfsValue
impl From<ExtendedCounters> for XfsValue
Source§fn from(val: ExtendedCounters) -> XfsValue
fn from(val: ExtendedCounters) -> XfsValue
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