pub struct SetStorageItemsParams<'a> { /* private fields */ }Expand description
Sets ‘values’ in extension storage in the given ‘storageArea’. The provided ‘values’ will be merged with existing values in the storage area.
Implementations§
Source§impl<'a> SetStorageItemsParams<'a>
impl<'a> SetStorageItemsParams<'a>
Sourcepub fn builder(
id: impl Into<Cow<'a, str>>,
storage_area: impl Into<StorageArea>,
values: Map<String, JsonValue>,
) -> SetStorageItemsParamsBuilder<'a>
pub fn builder( id: impl Into<Cow<'a, str>>, storage_area: impl Into<StorageArea>, values: Map<String, JsonValue>, ) -> SetStorageItemsParamsBuilder<'a>
Creates a builder for this type with the required parameters:
id: ID of extension.storage_area: StorageArea to set data in.values: Values to set.
Sourcepub fn storage_area(&self) -> &StorageArea
pub fn storage_area(&self) -> &StorageArea
StorageArea to set data in.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetStorageItemsParams<'a>
impl<'a> CdpCommand<'a> for SetStorageItemsParams<'a>
Source§impl<'a> Clone for SetStorageItemsParams<'a>
impl<'a> Clone for SetStorageItemsParams<'a>
Source§fn clone(&self) -> SetStorageItemsParams<'a>
fn clone(&self) -> SetStorageItemsParams<'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 SetStorageItemsParams<'a>
impl<'a> Debug for SetStorageItemsParams<'a>
Source§impl<'a> Default for SetStorageItemsParams<'a>
impl<'a> Default for SetStorageItemsParams<'a>
Source§fn default() -> SetStorageItemsParams<'a>
fn default() -> SetStorageItemsParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetStorageItemsParams<'a>
impl<'de, 'a> Deserialize<'de> for SetStorageItemsParams<'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 SetStorageItemsParams<'a>
impl<'a> RefUnwindSafe for SetStorageItemsParams<'a>
impl<'a> Send for SetStorageItemsParams<'a>
impl<'a> Sync for SetStorageItemsParams<'a>
impl<'a> Unpin for SetStorageItemsParams<'a>
impl<'a> UnsafeUnpin for SetStorageItemsParams<'a>
impl<'a> UnwindSafe for SetStorageItemsParams<'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