Struct fuel_core_storage::tables::Coins
source · pub struct Coins;
Expand description
The storage table of coins. Each
CompressedCoin
is represented by unique UtxoId
.
Trait Implementations§
source§impl Mappable for Coins
impl Mappable for Coins
§type Key = <Coins as Mappable>::OwnedKey
type Key = <Coins as Mappable>::OwnedKey
The key type is used during interaction with the storage. In most cases, it is the same
as
Self::OwnedKey
.§type Value = <Coins as Mappable>::OwnedValue
type Value = <Coins as Mappable>::OwnedValue
The value type is used while setting the value to the storage. In most cases, it is the same
as
Self::OwnedValue
, but it is without restriction and can be used for performance
optimizations.§type OwnedValue = CompressedCoin
type OwnedValue = CompressedCoin
The owned type of the
Value
retrieving from the storage.Auto Trait Implementations§
impl RefUnwindSafe for Coins
impl Send for Coins
impl Sync for Coins
impl Unpin for Coins
impl UnwindSafe for Coins
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