[][src]Struct open_api_hydra::models::json_web_key_set_generator_request::JsonWebKeySetGeneratorRequest

pub struct JsonWebKeySetGeneratorRequest {
    pub alg: String,
    pub kid: String,
    pub _use: String,
}

Fields

alg: String

The algorithm to be used for creating the key. Supports "RS256", "ES512", "HS512", and "HS256"

kid: String

The kid of the key to be created

_use: String

The "use" (public key use) parameter identifies the intended use of the public key. The "use" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are "enc" and "sig".

Implementations

impl JsonWebKeySetGeneratorRequest[src]

pub fn new(
    alg: String,
    kid: String,
    _use: String
) -> JsonWebKeySetGeneratorRequest
[src]

Trait Implementations

impl Clone for JsonWebKeySetGeneratorRequest[src]

impl Debug for JsonWebKeySetGeneratorRequest[src]

impl<'de> Deserialize<'de> for JsonWebKeySetGeneratorRequest[src]

impl PartialEq<JsonWebKeySetGeneratorRequest> for JsonWebKeySetGeneratorRequest[src]

impl Serialize for JsonWebKeySetGeneratorRequest[src]

impl StructuralPartialEq for JsonWebKeySetGeneratorRequest[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.