Expand description
Assets are instances of a process which are owned and invested in by agents.
Modules§
- capacity 🔒
- Represents the capacity of an asset
- pool 🔒
- Defines a data structure for representing the current active pool of assets.
Structs§
- Asset
- An asset controlled by an agent.
- Asset
GroupID - A unique identifier for an asset group
- AssetID
- A unique identifier for an asset
- Asset
Pool - The active pool of
super::Assets - Asset
Ref - A wrapper containing a reference-counted
Asset.
Enums§
- Asset
Capacity - Capacity of an asset, which may be continuous or a discrete number of indivisible units
- Asset
Cmp 🔒 - A data structure representing the fields of an
Assetthat should be used for comparisons. - Asset
State - The state of an asset
Traits§
- Asset
Iterator - Additional methods for iterating over assets
Functions§
- check_
capacity_ valid_ for_ asset - Whether the specified value is a valid capacity for an asset
- check_
region_ year_ valid_ for_ process - Whether the process operates in the specified region and year