Struct jsonwebtoken::jwk::OctetKeyParameters
source · pub struct OctetKeyParameters {
pub key_type: OctetKeyType,
pub value: String,
}Expand description
Parameters for an Octet Key
Fields§
§key_type: OctetKeyTypeKey type value for an Octet Key
value: StringThe octet key value
Trait Implementations§
source§impl Clone for OctetKeyParameters
impl Clone for OctetKeyParameters
source§fn clone(&self) -> OctetKeyParameters
fn clone(&self) -> OctetKeyParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OctetKeyParameters
impl Debug for OctetKeyParameters
source§impl Default for OctetKeyParameters
impl Default for OctetKeyParameters
source§fn default() -> OctetKeyParameters
fn default() -> OctetKeyParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OctetKeyParameters
impl<'de> Deserialize<'de> for OctetKeyParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for OctetKeyParameters
impl Hash for OctetKeyParameters
source§impl PartialEq<OctetKeyParameters> for OctetKeyParameters
impl PartialEq<OctetKeyParameters> for OctetKeyParameters
source§fn eq(&self, other: &OctetKeyParameters) -> bool
fn eq(&self, other: &OctetKeyParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.