Struct fuel_core_storage::tables::ContractsLatestUtxo
source · pub struct ContractsLatestUtxo;
Expand description
The latest UTXO id of the contract. The contract’s UTXO represents the unique id of the state.
After each transaction, old UTXO is consumed, and new UTXO is produced. UTXO is used as an
input to the next transaction related to the ContractId
smart contract.
Trait Implementations§
source§impl Mappable for ContractsLatestUtxo
impl Mappable for ContractsLatestUtxo
§type Value = <ContractsLatestUtxo as Mappable>::OwnedValue
type Value = <ContractsLatestUtxo as Mappable>::OwnedValue
The latest UTXO id.
§type Key = <ContractsLatestUtxo as Mappable>::OwnedKey
type Key = <ContractsLatestUtxo as Mappable>::OwnedKey
The key type is used during interaction with the storage. In most cases, it is the same
as
Self::OwnedKey
.§type OwnedValue = UtxoId
type OwnedValue = UtxoId
The owned type of the
Value
retrieving from the storage.Auto Trait Implementations§
impl RefUnwindSafe for ContractsLatestUtxo
impl Send for ContractsLatestUtxo
impl Sync for ContractsLatestUtxo
impl Unpin for ContractsLatestUtxo
impl UnwindSafe for ContractsLatestUtxo
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