pub struct StorageChange {
pub block_access_index: BlockAccessIndex,
pub value: U256,
}Expand description
One write to a storage slot.
Fields§
§block_access_index: BlockAccessIndexWhere in the block the write happened.
value: U256Post-value. There are no pre-values anywhere in a BAL.
Implementations§
Source§impl StorageChange
impl StorageChange
Sourcepub fn value_b256(&self) -> B256
pub fn value_b256(&self) -> B256
Post-value as a 32-byte word.
Trait Implementations§
Source§impl Clone for StorageChange
impl Clone for StorageChange
Source§fn clone(&self) -> StorageChange
fn clone(&self) -> StorageChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StorageChange
impl Debug for StorageChange
Source§impl Decodable for StorageChange
impl Decodable for StorageChange
Source§impl Encodable for StorageChange
impl Encodable for StorageChange
impl Eq for StorageChange
Source§impl PartialEq for StorageChange
impl PartialEq for StorageChange
impl StructuralPartialEq for StorageChange
Auto Trait Implementations§
impl Freeze for StorageChange
impl RefUnwindSafe for StorageChange
impl Send for StorageChange
impl Sync for StorageChange
impl Unpin for StorageChange
impl UnsafeUnpin for StorageChange
impl UnwindSafe for StorageChange
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