Struct fuel_core_storage::tables::FuelBlocks
source · pub struct FuelBlocks;
Expand description
The table of blocks generated by Fuels validators. Right now, we have only that type of block, but we will support others in the future.
Trait Implementations§
source§impl Mappable for FuelBlocks
impl Mappable for FuelBlocks
§type Key = <FuelBlocks as Mappable>::OwnedKey
type Key = <FuelBlocks as Mappable>::OwnedKey
Unique identifier of the fuel block.
§type Value = <FuelBlocks as Mappable>::OwnedValue
type Value = <FuelBlocks 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 = Block<Bytes32>
type OwnedValue = Block<Bytes32>
The owned type of the
Value
retrieving from the storage.Auto Trait Implementations§
impl RefUnwindSafe for FuelBlocks
impl Send for FuelBlocks
impl Sync for FuelBlocks
impl Unpin for FuelBlocks
impl UnwindSafe for FuelBlocks
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