pub struct StorageData(pub Vec<u8>);Expand description
Storage data associated to a StorageKey.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl Clone for StorageData
impl Clone for StorageData
Source§fn clone(&self) -> StorageData
fn clone(&self) -> StorageData
Returns a duplicate 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 StorageData
impl Debug for StorageData
Source§impl<'de> Deserialize<'de> for StorageData
impl<'de> Deserialize<'de> for StorageData
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 for StorageData
impl Hash for StorageData
Source§impl Ord for StorageData
impl Ord for StorageData
Source§fn cmp(&self, other: &StorageData) -> Ordering
fn cmp(&self, other: &StorageData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StorageData
impl PartialEq for StorageData
Source§impl PartialOrd for StorageData
impl PartialOrd for StorageData
Source§impl Serialize for StorageData
impl Serialize for StorageData
impl Eq for StorageData
impl StructuralPartialEq for StorageData
Auto Trait Implementations§
impl Freeze for StorageData
impl RefUnwindSafe for StorageData
impl Send for StorageData
impl Sync for StorageData
impl Unpin for StorageData
impl UnwindSafe for StorageData
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