[][src]Struct web_sys::JsonWebKey

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

The JsonWebKey dictionary.

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

Methods

impl JsonWebKey[src]

pub fn new(kty: &str) -> Self[src]

Construct a new JsonWebKey.

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

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

Change the alg field of this object.

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

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

Change the crv field of this object.

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

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

Change the d field of this object.

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

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

Change the dp field of this object.

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

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

Change the dq field of this object.

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

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

Change the e field of this object.

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

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

Change the ext field of this object.

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

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

Change the k field of this object.

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

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

Change the key_ops field of this object.

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

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

Change the kty field of this object.

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

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

Change the n field of this object.

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

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

Change the oth field of this object.

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

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

Change the p field of this object.

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

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

Change the q field of this object.

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

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

Change the qi field of this object.

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

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

Change the use field of this object.

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

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

Change the x field of this object.

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

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

Change the y field of this object.

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

Trait Implementations

impl AsRef<JsValue> for JsonWebKey[src]

impl AsRef<JsonWebKey> for JsonWebKey[src]

impl AsRef<Object> for JsonWebKey[src]

impl Clone for JsonWebKey[src]

impl Debug for JsonWebKey[src]

impl Deref for JsonWebKey[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for JsonWebKey[src]

impl From<JsValue> for JsonWebKey[src]

impl From<JsonWebKey> for JsValue[src]

impl From<JsonWebKey> for Object[src]

impl FromWasmAbi for JsonWebKey[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 JsonWebKey[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 JsonWebKey[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 JsonWebKey[src]

impl OptionFromWasmAbi for JsonWebKey[src]

impl OptionIntoWasmAbi for JsonWebKey[src]

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

impl PartialEq<JsonWebKey> for JsonWebKey[src]

impl RefFromWasmAbi for JsonWebKey[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<JsonWebKey>

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 JsonWebKey[src]

impl StructuralPartialEq for JsonWebKey[src]

impl WasmDescribe for JsonWebKey[src]

Auto Trait Implementations

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.