pub struct CashTypeDispenseHistoryItems { /* private fields */ }Expand description
Represents a list of CashTypeDispenseHistory items.
Implementations§
Source§impl CashTypeDispenseHistoryItems
impl CashTypeDispenseHistoryItems
Sourcepub const fn new() -> CashTypeDispenseHistoryItems
pub const fn new() -> CashTypeDispenseHistoryItems
Creates a new CashTypeDispenseHistoryItems.
Sourcepub const fn max_size() -> usize
pub const fn max_size() -> usize
Gets the maximum number of CashTypeDispenseHistoryItems items.
Sourcepub const fn size(&self) -> usize
pub const fn size(&self) -> usize
Gets the size of the CashTypeDispenseHistoryItems.
Sourcepub fn set_size(&mut self, val: u32)
pub fn set_size(&mut self, val: u32)
Sets the size of the CashTypeDispenseHistoryItems.
No-op if val is larger than CashTypeDispenseHistoryItems.
Sourcepub fn with_size(self, val: u32) -> CashTypeDispenseHistoryItems
pub fn with_size(self, val: u32) -> CashTypeDispenseHistoryItems
Builder function that sets the size of the CashTypeDispenseHistoryItems.
No-op if val is larger than CashTypeDispenseHistoryItems.
Sourcepub fn items(&self) -> &[CashTypeDispenseHistory]
pub fn items(&self) -> &[CashTypeDispenseHistory]
Gets a reference to the list of set CashTypeDispenseHistoryItems items.
Sourcepub fn set_items(&mut self, val: &[CashTypeDispenseHistory])
pub fn set_items(&mut self, val: &[CashTypeDispenseHistory])
Sets the list of CashTypeDispenseHistoryItems items.
Sourcepub fn with_items(
self,
val: &[CashTypeDispenseHistory],
) -> CashTypeDispenseHistoryItems
pub fn with_items( self, val: &[CashTypeDispenseHistory], ) -> CashTypeDispenseHistoryItems
Builder function that sets the list of CashTypeDispenseHistoryItems items.
Sourcepub fn push_item(&mut self, val: CashTypeDispenseHistory)
pub fn push_item(&mut self, val: CashTypeDispenseHistory)
Pushes a CashTypeDispenseHistoryItems onto the end of the list.
No-op if the list is at capacity.
Trait Implementations§
Source§impl Clone for CashTypeDispenseHistoryItems
impl Clone for CashTypeDispenseHistoryItems
Source§fn clone(&self) -> CashTypeDispenseHistoryItems
fn clone(&self) -> CashTypeDispenseHistoryItems
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 CashTypeDispenseHistoryItems
impl Debug for CashTypeDispenseHistoryItems
Source§impl Default for CashTypeDispenseHistoryItems
impl Default for CashTypeDispenseHistoryItems
Source§fn default() -> CashTypeDispenseHistoryItems
fn default() -> CashTypeDispenseHistoryItems
Returns the “default value” for a type. Read more
Source§impl From<&CashTypeDispenseHistoryItems> for XfsArray
impl From<&CashTypeDispenseHistoryItems> for XfsArray
Source§fn from(val: &CashTypeDispenseHistoryItems) -> XfsArray
fn from(val: &CashTypeDispenseHistoryItems) -> XfsArray
Converts to this type from the input type.
Source§impl From<&CashTypeDispenseHistoryItems> for XfsMember
impl From<&CashTypeDispenseHistoryItems> for XfsMember
Source§fn from(val: &CashTypeDispenseHistoryItems) -> XfsMember
fn from(val: &CashTypeDispenseHistoryItems) -> XfsMember
Converts to this type from the input type.
Source§impl From<&CashTypeDispenseHistoryItems> for XfsValue
impl From<&CashTypeDispenseHistoryItems> for XfsValue
Source§fn from(val: &CashTypeDispenseHistoryItems) -> XfsValue
fn from(val: &CashTypeDispenseHistoryItems) -> XfsValue
Converts to this type from the input type.
Source§impl From<CashTypeDispenseHistoryItems> for XfsArray
impl From<CashTypeDispenseHistoryItems> for XfsArray
Source§fn from(val: CashTypeDispenseHistoryItems) -> XfsArray
fn from(val: CashTypeDispenseHistoryItems) -> XfsArray
Converts to this type from the input type.
Source§impl From<CashTypeDispenseHistoryItems> for XfsMember
impl From<CashTypeDispenseHistoryItems> for XfsMember
Source§fn from(val: CashTypeDispenseHistoryItems) -> XfsMember
fn from(val: CashTypeDispenseHistoryItems) -> XfsMember
Converts to this type from the input type.
Source§impl From<CashTypeDispenseHistoryItems> for XfsValue
impl From<CashTypeDispenseHistoryItems> for XfsValue
Source§fn from(val: CashTypeDispenseHistoryItems) -> XfsValue
fn from(val: CashTypeDispenseHistoryItems) -> XfsValue
Converts to this type from the input type.
Source§impl PartialEq for CashTypeDispenseHistoryItems
impl PartialEq for CashTypeDispenseHistoryItems
Source§fn eq(&self, other: &CashTypeDispenseHistoryItems) -> bool
fn eq(&self, other: &CashTypeDispenseHistoryItems) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&XfsArray> for CashTypeDispenseHistoryItems
impl TryFrom<&XfsArray> for CashTypeDispenseHistoryItems
Source§impl TryFrom<&XfsMember> for CashTypeDispenseHistoryItems
impl TryFrom<&XfsMember> for CashTypeDispenseHistoryItems
Source§impl TryFrom<&XfsValue> for CashTypeDispenseHistoryItems
impl TryFrom<&XfsValue> for CashTypeDispenseHistoryItems
impl StructuralPartialEq for CashTypeDispenseHistoryItems
Auto Trait Implementations§
impl Freeze for CashTypeDispenseHistoryItems
impl RefUnwindSafe for CashTypeDispenseHistoryItems
impl Send for CashTypeDispenseHistoryItems
impl Sync for CashTypeDispenseHistoryItems
impl Unpin for CashTypeDispenseHistoryItems
impl UnwindSafe for CashTypeDispenseHistoryItems
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