pub struct GetStorageItemsParams<'a> { /* private fields */ }Expand description
Gets data from extension storage in the given ‘storageArea’. If ‘keys’ is specified, these are used to filter the result.
Implementations§
Source§impl<'a> GetStorageItemsParams<'a>
impl<'a> GetStorageItemsParams<'a>
Sourcepub fn builder(
id: impl Into<Cow<'a, str>>,
storage_area: impl Into<StorageArea>,
) -> GetStorageItemsParamsBuilder<'a>
pub fn builder( id: impl Into<Cow<'a, str>>, storage_area: impl Into<StorageArea>, ) -> GetStorageItemsParamsBuilder<'a>
Creates a builder for this type with the required parameters:
id: ID of extension.storage_area: StorageArea to retrieve data from.
Sourcepub fn storage_area(&self) -> &StorageArea
pub fn storage_area(&self) -> &StorageArea
StorageArea to retrieve data from.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetStorageItemsParams<'a>
impl<'a> CdpCommand<'a> for GetStorageItemsParams<'a>
Source§impl<'a> Clone for GetStorageItemsParams<'a>
impl<'a> Clone for GetStorageItemsParams<'a>
Source§fn clone(&self) -> GetStorageItemsParams<'a>
fn clone(&self) -> GetStorageItemsParams<'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 GetStorageItemsParams<'a>
impl<'a> Debug for GetStorageItemsParams<'a>
Source§impl<'a> Default for GetStorageItemsParams<'a>
impl<'a> Default for GetStorageItemsParams<'a>
Source§fn default() -> GetStorageItemsParams<'a>
fn default() -> GetStorageItemsParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetStorageItemsParams<'a>
impl<'de, 'a> Deserialize<'de> for GetStorageItemsParams<'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 GetStorageItemsParams<'a>
impl<'a> RefUnwindSafe for GetStorageItemsParams<'a>
impl<'a> Send for GetStorageItemsParams<'a>
impl<'a> Sync for GetStorageItemsParams<'a>
impl<'a> Unpin for GetStorageItemsParams<'a>
impl<'a> UnsafeUnpin for GetStorageItemsParams<'a>
impl<'a> UnwindSafe for GetStorageItemsParams<'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