pub struct WorkerRegistrationUpdatedEventParamsBuilder { /* private fields */ }Expand description
Builder for WorkerRegistrationUpdatedEventParams.
Implementations§
Source§impl WorkerRegistrationUpdatedEventParamsBuilder
impl WorkerRegistrationUpdatedEventParamsBuilder
pub fn registrations( &mut self, value: Vec<ServiceWorkerRegistration>, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<WorkerRegistrationUpdatedEventParams, WorkerRegistrationUpdatedEventParamsBuilderError>
pub fn build( &self, ) -> Result<WorkerRegistrationUpdatedEventParams, WorkerRegistrationUpdatedEventParamsBuilderError>
Builds a new WorkerRegistrationUpdatedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for WorkerRegistrationUpdatedEventParamsBuilder
impl Clone for WorkerRegistrationUpdatedEventParamsBuilder
Source§fn clone(&self) -> WorkerRegistrationUpdatedEventParamsBuilder
fn clone(&self) -> WorkerRegistrationUpdatedEventParamsBuilder
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 WorkerRegistrationUpdatedEventParamsBuilder
impl RefUnwindSafe for WorkerRegistrationUpdatedEventParamsBuilder
impl Send for WorkerRegistrationUpdatedEventParamsBuilder
impl Sync for WorkerRegistrationUpdatedEventParamsBuilder
impl Unpin for WorkerRegistrationUpdatedEventParamsBuilder
impl UnsafeUnpin for WorkerRegistrationUpdatedEventParamsBuilder
impl UnwindSafe for WorkerRegistrationUpdatedEventParamsBuilder
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