pub struct StorageQuery<Key> {
pub key: Key,
pub query_type: StorageQueryType,
}Expand description
The storage item received as parameter.
Fields§
§key: KeyThe provided key.
query_type: StorageQueryTypeThe type of the storage query.
Trait Implementations§
Source§impl<Key: Clone> Clone for StorageQuery<Key>
impl<Key: Clone> Clone for StorageQuery<Key>
Source§fn clone(&self) -> StorageQuery<Key>
fn clone(&self) -> StorageQuery<Key>
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<Key: Debug> Debug for StorageQuery<Key>
impl<Key: Debug> Debug for StorageQuery<Key>
Source§impl<'de, Key> Deserialize<'de> for StorageQuery<Key>where
Key: Deserialize<'de>,
impl<'de, Key> Deserialize<'de> for StorageQuery<Key>where
Key: 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<Key: PartialEq> PartialEq for StorageQuery<Key>
impl<Key: PartialEq> PartialEq for StorageQuery<Key>
Source§impl<Key> Serialize for StorageQuery<Key>where
Key: Serialize,
impl<Key> Serialize for StorageQuery<Key>where
Key: Serialize,
impl<Key: Eq> Eq for StorageQuery<Key>
impl<Key> StructuralPartialEq for StorageQuery<Key>
Auto Trait Implementations§
impl<Key> Freeze for StorageQuery<Key>where
Key: Freeze,
impl<Key> RefUnwindSafe for StorageQuery<Key>where
Key: RefUnwindSafe,
impl<Key> Send for StorageQuery<Key>where
Key: Send,
impl<Key> Sync for StorageQuery<Key>where
Key: Sync,
impl<Key> Unpin for StorageQuery<Key>where
Key: Unpin,
impl<Key> UnwindSafe for StorageQuery<Key>where
Key: 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