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