pub struct DispatchPeriodicSyncEventBuilder { /* private fields */ }Expand description
Builder for DispatchPeriodicSyncEvent.
Implementations§
Source§impl DispatchPeriodicSyncEventBuilder
impl DispatchPeriodicSyncEventBuilder
pub fn origin<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn registration_id<VALUE: Into<RegistrationId>>( &mut self, value: VALUE, ) -> &mut Self
pub fn tag<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<DispatchPeriodicSyncEvent, DispatchPeriodicSyncEventBuilderError>
pub fn build( &self, ) -> Result<DispatchPeriodicSyncEvent, DispatchPeriodicSyncEventBuilderError>
Trait Implementations§
Source§impl Clone for DispatchPeriodicSyncEventBuilder
impl Clone for DispatchPeriodicSyncEventBuilder
Source§fn clone(&self) -> DispatchPeriodicSyncEventBuilder
fn clone(&self) -> DispatchPeriodicSyncEventBuilder
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 DispatchPeriodicSyncEventBuilder
impl RefUnwindSafe for DispatchPeriodicSyncEventBuilder
impl Send for DispatchPeriodicSyncEventBuilder
impl Sync for DispatchPeriodicSyncEventBuilder
impl Unpin for DispatchPeriodicSyncEventBuilder
impl UnsafeUnpin for DispatchPeriodicSyncEventBuilder
impl UnwindSafe for DispatchPeriodicSyncEventBuilder
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