Struct jwt_compact::alg::Hs512Signature
source · pub struct Hs512Signature(_);Expand description
Signature produced by the Hs512 algorithm.
Trait Implementations§
source§impl AlgorithmSignature for Hs512Signature
impl AlgorithmSignature for Hs512Signature
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 Hs512Signature
impl Clone for Hs512Signature
source§fn clone(&self) -> Hs512Signature
fn clone(&self) -> Hs512Signature
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 Hs512Signature
impl Debug for Hs512Signature
source§impl PartialEq<Hs512Signature> for Hs512Signature
impl PartialEq<Hs512Signature> for Hs512Signature
source§fn eq(&self, other: &Hs512Signature) -> bool
fn eq(&self, other: &Hs512Signature) -> bool
This method tests for
self and other values to be equal, and is used
by ==.