pub struct GetStorageKeyReturns<'a> { /* private fields */ }Expand description
Returns storage key for the given frame. If no frame ID is provided, the storage key of the target executing this command is returned.
Implementations§
Source§impl<'a> GetStorageKeyReturns<'a>
impl<'a> GetStorageKeyReturns<'a>
Sourcepub fn builder(
storage_key: impl Into<SerializedStorageKey<'a>>,
) -> GetStorageKeyReturnsBuilder<'a>
pub fn builder( storage_key: impl Into<SerializedStorageKey<'a>>, ) -> GetStorageKeyReturnsBuilder<'a>
Creates a builder for this type with the required parameters:
storage_key:
pub fn storage_key(&self) -> &SerializedStorageKey<'a>
Trait Implementations§
Source§impl<'a> Clone for GetStorageKeyReturns<'a>
impl<'a> Clone for GetStorageKeyReturns<'a>
Source§fn clone(&self) -> GetStorageKeyReturns<'a>
fn clone(&self) -> GetStorageKeyReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetStorageKeyReturns<'a>
impl<'a> Debug for GetStorageKeyReturns<'a>
Source§impl<'a> Default for GetStorageKeyReturns<'a>
impl<'a> Default for GetStorageKeyReturns<'a>
Source§fn default() -> GetStorageKeyReturns<'a>
fn default() -> GetStorageKeyReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetStorageKeyReturns<'a>
impl<'de, 'a> Deserialize<'de> for GetStorageKeyReturns<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetStorageKeyReturns<'a>
impl<'a> RefUnwindSafe for GetStorageKeyReturns<'a>
impl<'a> Send for GetStorageKeyReturns<'a>
impl<'a> Sync for GetStorageKeyReturns<'a>
impl<'a> Unpin for GetStorageKeyReturns<'a>
impl<'a> UnsafeUnpin for GetStorageKeyReturns<'a>
impl<'a> UnwindSafe for GetStorageKeyReturns<'a>
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