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<StorageChangeSet<Hash>> for StorageChangeSet<Hash>
impl<Hash: PartialEq> PartialEq<StorageChangeSet<Hash>> 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 ==
.