Struct fuel_core_interfaces::db::ContractsAssets
source · pub struct ContractsAssets<'a>(_);
Expand description
The storage table for contract’s assets balances.
Lifetime is for optimization to avoid clone
.
Trait Implementations§
source§impl<'a> Mappable for ContractsAssets<'a>
impl<'a> Mappable for ContractsAssets<'a>
§type SetValue = u64
type SetValue = u64
The value type is used while setting the value to the storage. In most cases, it is the same
as
Self::GetValue
, but it is without restriction and can be used for performance
optimizations. Read more§type GetValue = <ContractsAssets<'a> as Mappable>::SetValue
type GetValue = <ContractsAssets<'a> as Mappable>::SetValue
The value type is used while getting the value from the storage.