Struct biscuit::jwk::OctetKeyParameters
source · pub struct OctetKeyParameters {
pub key_type: OctetKeyType,
pub value: Vec<u8>,
}
Expand description
Parameters for an Octet Key
Fields§
§key_type: OctetKeyType
Key type value for an Octet Key
value: Vec<u8>
The 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 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 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 ==
.source§impl Serialize for OctetKeyParameters
impl Serialize for OctetKeyParameters
impl Eq for OctetKeyParameters
impl StructuralEq for OctetKeyParameters
impl StructuralPartialEq for OctetKeyParameters
Auto Trait Implementations§
impl RefUnwindSafe for OctetKeyParameters
impl Send for OctetKeyParameters
impl Sync for OctetKeyParameters
impl Unpin for OctetKeyParameters
impl UnwindSafe for OctetKeyParameters
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.