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: OctetKeyType
Key type value for an Octet Key
value: String
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 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 for OctetKeyParameters
impl PartialEq 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 StructuralPartialEq for OctetKeyParameters
Auto Trait Implementations§
impl Freeze for OctetKeyParameters
impl RefUnwindSafe for OctetKeyParameters
impl Send for OctetKeyParameters
impl Sync for OctetKeyParameters
impl Unpin for OctetKeyParameters
impl UnwindSafe for OctetKeyParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)