pub struct EntityCounts {
pub vendors: usize,
pub customers: usize,
pub employees: usize,
pub materials: usize,
pub fixed_assets: usize,
}Expand description
Counts of master-data entities generated so far.
Used to avoid regenerating master data in subsequent periods and to allocate additional entities if growth is configured.
Fields§
§vendors: usizeNumber of vendor master records.
customers: usizeNumber of customer master records.
employees: usizeNumber of employee master records.
materials: usizeNumber of material master records.
fixed_assets: usizeNumber of fixed-asset master records.
Trait Implementations§
Source§impl Clone for EntityCounts
impl Clone for EntityCounts
Source§fn clone(&self) -> EntityCounts
fn clone(&self) -> EntityCounts
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 EntityCounts
impl Debug for EntityCounts
Source§impl Default for EntityCounts
impl Default for EntityCounts
Source§fn default() -> EntityCounts
fn default() -> EntityCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityCounts
impl<'de> Deserialize<'de> for EntityCounts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntityCounts
impl RefUnwindSafe for EntityCounts
impl Send for EntityCounts
impl Sync for EntityCounts
impl Unpin for EntityCounts
impl UnsafeUnpin for EntityCounts
impl UnwindSafe for EntityCounts
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