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
Signature
Indicates a public key is meant for signature verification
Encryption
Indicates a public key is meant for encryption
Other(String)
Other usage
Trait Implementations
impl Clone for PublicKeyUse
[src]
fn clone(&self) -> PublicKeyUse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for PublicKeyUse
[src]
impl Eq for PublicKeyUse
[src]
impl PartialEq for PublicKeyUse
[src]
fn eq(&self, __arg_0: &PublicKeyUse) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PublicKeyUse) -> bool
This method tests for !=
.
impl Serialize for PublicKeyUse
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for PublicKeyUse
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more