Struct fuel_core::database::storage::ContractsStateMerkleMetadata
source · pub struct ContractsStateMerkleMetadata;
Expand description
The metadata table for ContractsStateMerkleData
table
Trait Implementations§
source§impl Mappable for ContractsStateMerkleMetadata
impl Mappable for ContractsStateMerkleMetadata
§type Key = ContractId
type Key = ContractId
The key type is used during interaction with the storage. In most cases, it is the same
as
Self::OwnedKey
.§type OwnedKey = <ContractsStateMerkleMetadata as Mappable>::Key
type OwnedKey = <ContractsStateMerkleMetadata as Mappable>::Key
The owned type of the
Key
retrieving from the storage.§type Value = SparseMerkleMetadata
type Value = SparseMerkleMetadata
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 = <ContractsStateMerkleMetadata as Mappable>::Value
type OwnedValue = <ContractsStateMerkleMetadata as Mappable>::Value
The owned type of the
Value
retrieving from the storage.Auto Trait Implementations§
impl RefUnwindSafe for ContractsStateMerkleMetadata
impl Send for ContractsStateMerkleMetadata
impl Sync for ContractsStateMerkleMetadata
impl Unpin for ContractsStateMerkleMetadata
impl UnwindSafe for ContractsStateMerkleMetadata
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