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
sourceimpl Clone for OctetKeyParameters
impl Clone for OctetKeyParameters
sourcefn clone(&self) -> OctetKeyParameters
fn clone(&self) -> OctetKeyParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OctetKeyParameters
impl Debug for OctetKeyParameters
sourceimpl Default for OctetKeyParameters
impl Default for OctetKeyParameters
sourcefn default() -> OctetKeyParameters
fn default() -> OctetKeyParameters
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for OctetKeyParameters
impl<'de> Deserialize<'de> for OctetKeyParameters
sourcefn 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
sourceimpl Hash for OctetKeyParameters
impl Hash for OctetKeyParameters
sourceimpl PartialEq<OctetKeyParameters> for OctetKeyParameters
impl PartialEq<OctetKeyParameters> for OctetKeyParameters
sourcefn eq(&self, other: &OctetKeyParameters) -> bool
fn eq(&self, other: &OctetKeyParameters) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more