pub struct MLDSA65PublicKey { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for MLDSA65PublicKey
impl Clone for MLDSA65PublicKey
Source§fn clone(&self) -> MLDSA65PublicKey
fn clone(&self) -> MLDSA65PublicKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MLDSA65PublicKey
impl Debug for MLDSA65PublicKey
Source§impl MLDSAPublicKeyLike for MLDSA65PublicKey
impl MLDSAPublicKeyLike for MLDSA65PublicKey
fn jwt_alg_name() -> &'static str
fn public_key(&self) -> &MLDSAPublicKey
fn key_id(&self) -> &Option<String>
fn set_key_id(&mut self, key_id: String)
fn verify_token<CustomClaims: DeserializeOwned>( &self, token: &str, options: Option<VerificationOptions>, ) -> Result<JWTClaims<CustomClaims>, Error>
fn create_key_id(&mut self) -> &str
Auto Trait Implementations§
impl Freeze for MLDSA65PublicKey
impl RefUnwindSafe for MLDSA65PublicKey
impl Send for MLDSA65PublicKey
impl Sync for MLDSA65PublicKey
impl Unpin for MLDSA65PublicKey
impl UnsafeUnpin for MLDSA65PublicKey
impl UnwindSafe for MLDSA65PublicKey
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