Enum biscuit::jwk::PublicKeyUse [] [src]

pub enum PublicKeyUse {
    Signature,
    Encryption,
    Other(String),
}

The intended usage of the public KeyType. This enum is serialized untagged

Variants

Indicates a public key is meant for signature verification

Indicates a public key is meant for encryption

Other usage

Trait Implementations

impl Clone for PublicKeyUse
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PublicKeyUse
[src]

Formats the value using the given formatter.

impl Eq for PublicKeyUse
[src]

impl PartialEq for PublicKeyUse
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Serialize for PublicKeyUse
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more