Struct jwt_compact::alg::Hs384Signature
source · pub struct Hs384Signature(_);Expand description
Signature produced by the Hs384 algorithm.
Trait Implementations§
source§impl AlgorithmSignature for Hs384Signature
impl AlgorithmSignature for Hs384Signature
source§const LENGTH: Option<NonZeroUsize> = _
const LENGTH: Option<NonZeroUsize> = _
source§fn try_from_slice(bytes: &[u8]) -> Result<Self>
fn try_from_slice(bytes: &[u8]) -> Result<Self>
Attempts to restore a signature from a byte slice. This method may fail
if the slice is malformed.
source§impl Clone for Hs384Signature
impl Clone for Hs384Signature
source§fn clone(&self) -> Hs384Signature
fn clone(&self) -> Hs384Signature
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 Hs384Signature
impl Debug for Hs384Signature
source§impl PartialEq<Hs384Signature> for Hs384Signature
impl PartialEq<Hs384Signature> for Hs384Signature
source§fn eq(&self, other: &Hs384Signature) -> bool
fn eq(&self, other: &Hs384Signature) -> bool
This method tests for
self and other values to be equal, and is used
by ==.