Struct chromiumoxide::cdp::browser_protocol::service_worker::DeliverPushMessageParamsBuilder
source · pub struct DeliverPushMessageParamsBuilder { /* private fields */ }
Implementations§
source§impl DeliverPushMessageParamsBuilder
impl DeliverPushMessageParamsBuilder
pub fn origin( self, origin: impl Into<String>, ) -> DeliverPushMessageParamsBuilder
pub fn registration_id( self, registration_id: impl Into<RegistrationId>, ) -> DeliverPushMessageParamsBuilder
pub fn data(self, data: impl Into<String>) -> DeliverPushMessageParamsBuilder
pub fn build(self) -> Result<DeliverPushMessageParams, String>
Trait Implementations§
source§impl Clone for DeliverPushMessageParamsBuilder
impl Clone for DeliverPushMessageParamsBuilder
source§fn clone(&self) -> DeliverPushMessageParamsBuilder
fn clone(&self) -> DeliverPushMessageParamsBuilder
Returns a copy 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 DeliverPushMessageParamsBuilder
impl Default for DeliverPushMessageParamsBuilder
source§fn default() -> DeliverPushMessageParamsBuilder
fn default() -> DeliverPushMessageParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeliverPushMessageParamsBuilder
impl RefUnwindSafe for DeliverPushMessageParamsBuilder
impl Send for DeliverPushMessageParamsBuilder
impl Sync for DeliverPushMessageParamsBuilder
impl Unpin for DeliverPushMessageParamsBuilder
impl UnwindSafe for DeliverPushMessageParamsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)