Struct sp_storage::StorageChangeSet
source · pub struct StorageChangeSet<Hash> {
pub block: Hash,
pub changes: Vec<(StorageKey, Option<StorageData>)>,
}
Expand description
Storage change set
Fields§
§block: Hash
Block hash
changes: Vec<(StorageKey, Option<StorageData>)>
A list of changes
Trait Implementations§
source§impl<Hash> Debug for StorageChangeSet<Hash>where
Hash: Debug,
impl<Hash> Debug for StorageChangeSet<Hash>where
Hash: Debug,
source§impl<'de, Hash> Deserialize<'de> for StorageChangeSet<Hash>where
Hash: Deserialize<'de>,
impl<'de, Hash> Deserialize<'de> for StorageChangeSet<Hash>where
Hash: Deserialize<'de>,
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<Hash: PartialEq> PartialEq for StorageChangeSet<Hash>
impl<Hash: PartialEq> PartialEq for StorageChangeSet<Hash>
source§fn eq(&self, other: &StorageChangeSet<Hash>) -> bool
fn eq(&self, other: &StorageChangeSet<Hash>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Hash> Serialize for StorageChangeSet<Hash>where
Hash: Serialize,
impl<Hash> Serialize for StorageChangeSet<Hash>where
Hash: Serialize,
impl<Hash: Eq> Eq for StorageChangeSet<Hash>
impl<Hash> StructuralPartialEq for StorageChangeSet<Hash>
Auto Trait Implementations§
impl<Hash> Freeze for StorageChangeSet<Hash>where
Hash: Freeze,
impl<Hash> RefUnwindSafe for StorageChangeSet<Hash>where
Hash: RefUnwindSafe,
impl<Hash> Send for StorageChangeSet<Hash>where
Hash: Send,
impl<Hash> Sync for StorageChangeSet<Hash>where
Hash: Sync,
impl<Hash> Unpin for StorageChangeSet<Hash>where
Hash: Unpin,
impl<Hash> UnwindSafe for StorageChangeSet<Hash>where
Hash: UnwindSafe,
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