pub struct DispatchSyncEventCommandBuilder { /* private fields */ }Available on crate features
experimental and ServiceWorker and Target only.Implementations§
Source§impl DispatchSyncEventCommandBuilder
impl DispatchSyncEventCommandBuilder
pub fn origin(&mut self, v: String) -> &mut Self
pub fn registration_id(&mut self, v: RegistrationId) -> &mut Self
pub fn tag(&mut self, v: String) -> &mut Self
pub fn last_chance(&mut self, v: bool) -> &mut Self
pub fn build(&mut self) -> Result<DispatchSyncEventCommand, &'static str>
Trait Implementations§
Source§impl Clone for DispatchSyncEventCommandBuilder
impl Clone for DispatchSyncEventCommandBuilder
Source§fn clone(&self) -> DispatchSyncEventCommandBuilder
fn clone(&self) -> DispatchSyncEventCommandBuilder
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 DispatchSyncEventCommandBuilder
impl RefUnwindSafe for DispatchSyncEventCommandBuilder
impl Send for DispatchSyncEventCommandBuilder
impl Sync for DispatchSyncEventCommandBuilder
impl Unpin for DispatchSyncEventCommandBuilder
impl UnwindSafe for DispatchSyncEventCommandBuilder
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