pub struct DispatchSyncEventBuilder { /* private fields */ }Implementations§
Source§impl DispatchSyncEventBuilder
impl DispatchSyncEventBuilder
pub fn origin(self, origin: impl Into<String>) -> Self
pub fn registration_id(self, registration_id: impl Into<RegistrationId>) -> Self
pub fn tag(self, tag: impl Into<String>) -> Self
pub fn last_chance(self, last_chance: impl Into<bool>) -> Self
pub fn build(self) -> Result<DispatchSyncEvent, String>
Trait Implementations§
Source§impl Clone for DispatchSyncEventBuilder
impl Clone for DispatchSyncEventBuilder
Source§fn clone(&self) -> DispatchSyncEventBuilder
fn clone(&self) -> DispatchSyncEventBuilder
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§impl Default for DispatchSyncEventBuilder
impl Default for DispatchSyncEventBuilder
Source§fn default() -> DispatchSyncEventBuilder
fn default() -> DispatchSyncEventBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispatchSyncEventBuilder
impl RefUnwindSafe for DispatchSyncEventBuilder
impl Send for DispatchSyncEventBuilder
impl Sync for DispatchSyncEventBuilder
impl Unpin for DispatchSyncEventBuilder
impl UnsafeUnpin for DispatchSyncEventBuilder
impl UnwindSafe for DispatchSyncEventBuilder
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