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