pub struct StorageSlot {
pub value: U256,
pub is_write_initial: bool,
}Expand description
Storage slot information returned from StorageInterface::read_storage().
Fields§
§value: U256Value of the storage slot.
is_write_initial: boolWhether a write to the slot would be considered an initial write. This influences refunds.
Implementations§
Source§impl StorageSlot
impl StorageSlot
Trait Implementations§
Source§impl Clone for StorageSlot
impl Clone for StorageSlot
Source§fn clone(&self) -> StorageSlot
fn clone(&self) -> StorageSlot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageSlot
impl Debug for StorageSlot
impl Copy for StorageSlot
Auto Trait Implementations§
impl Freeze for StorageSlot
impl RefUnwindSafe for StorageSlot
impl Send for StorageSlot
impl Sync for StorageSlot
impl Unpin for StorageSlot
impl UnwindSafe for StorageSlot
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