pub struct DepositCounters { /* private fields */ }Expand description
Represents counters for deposits.
Implementations§
Source§impl DepositCounters
impl DepositCounters
Sourcepub const fn new() -> DepositCounters
pub const fn new() -> DepositCounters
Creates a new DepositCounters.
Sourcepub const fn deposit_count(&self) -> &DepositCount
pub const fn deposit_count(&self) -> &DepositCount
Gets the DepositCount for DepositCounters.
Sourcepub fn set_deposit_count(&mut self, val: DepositCount)
pub fn set_deposit_count(&mut self, val: DepositCount)
Sets the DepositCount for DepositCounters.
Sourcepub fn with_deposit_count(self, val: DepositCount) -> DepositCounters
pub fn with_deposit_count(self, val: DepositCount) -> DepositCounters
Builder function that sets the DepositCount for DepositCounters.
Sourcepub const fn retracted_count(&self) -> &RetractedCount
pub const fn retracted_count(&self) -> &RetractedCount
Gets the RetractedCount for DepositCounters.
Sourcepub fn set_retracted_count(&mut self, val: RetractedCount)
pub fn set_retracted_count(&mut self, val: RetractedCount)
Sets the RetractedCount for DepositCounters.
Sourcepub fn with_retracted_count(self, val: RetractedCount) -> DepositCounters
pub fn with_retracted_count(self, val: RetractedCount) -> DepositCounters
Builder function that sets the RetractedCount for DepositCounters.
Sourcepub const fn emptied_count(&self) -> &EmptiedCount
pub const fn emptied_count(&self) -> &EmptiedCount
Gets the EmptiedCount for DepositCounters.
Sourcepub fn set_emptied_count(&mut self, val: EmptiedCount)
pub fn set_emptied_count(&mut self, val: EmptiedCount)
Sets the EmptiedCount for DepositCounters.
Sourcepub fn with_emptied_count(self, val: EmptiedCount) -> DepositCounters
pub fn with_emptied_count(self, val: EmptiedCount) -> DepositCounters
Builder function that sets the EmptiedCount for DepositCounters.
Sourcepub const fn forgery_count(&self) -> &ForgeryCount
pub const fn forgery_count(&self) -> &ForgeryCount
Gets the ForgeryCount for DepositCounters.
Sourcepub fn set_forgery_count(&mut self, val: ForgeryCount)
pub fn set_forgery_count(&mut self, val: ForgeryCount)
Sets the ForgeryCount for DepositCounters.
Sourcepub fn with_forgery_count(self, val: ForgeryCount) -> DepositCounters
pub fn with_forgery_count(self, val: ForgeryCount) -> DepositCounters
Builder function that sets the ForgeryCount for DepositCounters.
Sourcepub const fn disappeared_count(&self) -> &DisappearedCount
pub const fn disappeared_count(&self) -> &DisappearedCount
Gets the DisappearedCount for DepositCounters.
Sourcepub fn set_disappeared_count(&mut self, val: DisappearedCount)
pub fn set_disappeared_count(&mut self, val: DisappearedCount)
Sets the DisappearedCount for DepositCounters.
Sourcepub fn with_disappeared_count(self, val: DisappearedCount) -> DepositCounters
pub fn with_disappeared_count(self, val: DisappearedCount) -> DepositCounters
Builder function that sets the DisappearedCount for DepositCounters.
Trait Implementations§
Source§impl Clone for DepositCounters
impl Clone for DepositCounters
Source§fn clone(&self) -> DepositCounters
fn clone(&self) -> DepositCounters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more