pub struct DomStorageItemRemovedEventParamsBuilder { /* private fields */ }Expand description
Builder for DomStorageItemRemovedEventParams.
Implementations§
Source§impl DomStorageItemRemovedEventParamsBuilder
impl DomStorageItemRemovedEventParamsBuilder
pub fn storage_id(&mut self, value: StorageId) -> &mut Self
pub fn key(&mut self, value: String) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<DomStorageItemRemovedEventParams, DomStorageItemRemovedEventParamsBuilderError>
pub fn build( &self, ) -> Result<DomStorageItemRemovedEventParams, DomStorageItemRemovedEventParamsBuilderError>
Builds a new DomStorageItemRemovedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for DomStorageItemRemovedEventParamsBuilder
impl Clone for DomStorageItemRemovedEventParamsBuilder
Source§fn clone(&self) -> DomStorageItemRemovedEventParamsBuilder
fn clone(&self) -> DomStorageItemRemovedEventParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for DomStorageItemRemovedEventParamsBuilder
impl RefUnwindSafe for DomStorageItemRemovedEventParamsBuilder
impl Send for DomStorageItemRemovedEventParamsBuilder
impl Sync for DomStorageItemRemovedEventParamsBuilder
impl Unpin for DomStorageItemRemovedEventParamsBuilder
impl UnsafeUnpin for DomStorageItemRemovedEventParamsBuilder
impl UnwindSafe for DomStorageItemRemovedEventParamsBuilder
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