pub struct SetSharedStorageEntryParamsBuilder { /* private fields */ }
Implementations§
pub fn owner_origin( self, owner_origin: impl Into<String>, ) -> SetSharedStorageEntryParamsBuilder
pub fn key(self, key: impl Into<String>) -> SetSharedStorageEntryParamsBuilder
pub fn value( self, value: impl Into<String>, ) -> SetSharedStorageEntryParamsBuilder
pub fn ignore_if_present( self, ignore_if_present: impl Into<bool>, ) -> SetSharedStorageEntryParamsBuilder
pub fn build(self) -> Result<SetSharedStorageEntryParams, String>
Trait Implementations§
Source§fn clone(&self) -> SetSharedStorageEntryParamsBuilder
fn clone(&self) -> SetSharedStorageEntryParamsBuilder
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§fn default() -> SetSharedStorageEntryParamsBuilder
fn default() -> SetSharedStorageEntryParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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