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
sourceimpl<Hash> Debug for StorageChangeSet<Hash> where
Hash: Debug,
impl<Hash> Debug for StorageChangeSet<Hash> where
Hash: Debug,
sourceimpl<'de, Hash> Deserialize<'de> for StorageChangeSet<Hash> where
Hash: Deserialize<'de>,
impl<'de, Hash> Deserialize<'de> for StorageChangeSet<Hash> where
Hash: Deserialize<'de>,
sourcefn 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
sourceimpl<Hash: PartialEq> PartialEq<StorageChangeSet<Hash>> for StorageChangeSet<Hash>
impl<Hash: PartialEq> PartialEq<StorageChangeSet<Hash>> for StorageChangeSet<Hash>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StorageChangeSet<Hash>) -> bool
fn ne(&self, other: &StorageChangeSet<Hash>) -> bool
This method tests for !=
.
sourceimpl<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> StructuralEq for StorageChangeSet<Hash>
impl<Hash> StructuralPartialEq for StorageChangeSet<Hash>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more