Struct zksync_vm2::StorageSlot
source · pub struct StorageSlot {
pub value: U256,
pub is_write_initial: bool,
}
Expand description
Storage slot information returned from StorageInterface::read_storage()
.
Fields§
§value: U256
Value of the storage slot.
is_write_initial: bool
Whether 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 copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)