pub struct StorageDiff {
pub key: U256,
pub val: U256,
}
Expand description
A diff of some storage value.
Fields§
§key: U256
Which key in storage is changed.
val: U256
What the value has been changed to.
Trait Implementations§
Source§impl Clone for StorageDiff
impl Clone for StorageDiff
Source§fn clone(&self) -> StorageDiff
fn clone(&self) -> StorageDiff
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 StorageDiff
impl Debug for StorageDiff
Source§impl Default for StorageDiff
impl Default for StorageDiff
Source§fn default() -> StorageDiff
fn default() -> StorageDiff
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageDiff
impl<'de> Deserialize<'de> for StorageDiff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StorageDiff
impl PartialEq for StorageDiff
Source§impl Serialize for StorageDiff
impl Serialize for StorageDiff
impl StructuralPartialEq for StorageDiff
Auto Trait Implementations§
impl Freeze for StorageDiff
impl RefUnwindSafe for StorageDiff
impl Send for StorageDiff
impl Sync for StorageDiff
impl Unpin for StorageDiff
impl UnwindSafe for StorageDiff
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