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
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OctetKeyParameters) -> bool
fn ne(&self, other: &OctetKeyParameters) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more