[][src]Struct web_sys::PushSubscriptionKeys

#[repr(transparent)]pub struct PushSubscriptionKeys { /* fields omitted */ }

The PushSubscriptionKeys dictionary.

This API requires the following crate features to be activated: PushSubscriptionKeys

Methods

impl PushSubscriptionKeys[src]

pub fn new() -> Self[src]

Construct a new PushSubscriptionKeys.

This API requires the following crate features to be activated: PushSubscriptionKeys

pub fn auth(&mut self, val: &str) -> &mut Self[src]

Change the auth field of this object.

This API requires the following crate features to be activated: PushSubscriptionKeys

pub fn p256dh(&mut self, val: &str) -> &mut Self[src]

Change the p256dh field of this object.

This API requires the following crate features to be activated: PushSubscriptionKeys

Trait Implementations

impl AsRef<JsValue> for PushSubscriptionKeys[src]

impl AsRef<Object> for PushSubscriptionKeys[src]

impl AsRef<PushSubscriptionKeys> for PushSubscriptionKeys[src]

impl Clone for PushSubscriptionKeys[src]

impl Debug for PushSubscriptionKeys[src]

impl Deref for PushSubscriptionKeys[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for PushSubscriptionKeys[src]

impl From<JsValue> for PushSubscriptionKeys[src]

impl From<PushSubscriptionKeys> for JsValue[src]

impl From<PushSubscriptionKeys> for Object[src]

impl FromWasmAbi for PushSubscriptionKeys[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for PushSubscriptionKeys[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a PushSubscriptionKeys[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for PushSubscriptionKeys[src]

impl OptionFromWasmAbi for PushSubscriptionKeys[src]

impl OptionIntoWasmAbi for PushSubscriptionKeys[src]

impl<'a> OptionIntoWasmAbi for &'a PushSubscriptionKeys[src]

impl PartialEq<PushSubscriptionKeys> for PushSubscriptionKeys[src]

impl RefFromWasmAbi for PushSubscriptionKeys[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PushSubscriptionKeys>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for PushSubscriptionKeys[src]

impl StructuralPartialEq for PushSubscriptionKeys[src]

impl WasmDescribe for PushSubscriptionKeys[src]

Auto Trait Implementations

impl RefUnwindSafe for PushSubscriptionKeys

impl !Send for PushSubscriptionKeys

impl !Sync for PushSubscriptionKeys

impl Unpin for PushSubscriptionKeys

impl UnwindSafe for PushSubscriptionKeys

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.