pub struct VerificationKey { /* private fields */ }Implementations§
Source§impl VerificationKey
impl VerificationKey
pub fn new( id: VerificationKeyId, fingerprint: VerificationKeyFingerprint, not_before: OffsetDateTime, expires_at: Option<OffsetDateTime>, ) -> Result<Self, DomainError>
pub const fn id(&self) -> &VerificationKeyId
pub const fn fingerprint(&self) -> &VerificationKeyFingerprint
pub fn accepts_at(&self, at: OffsetDateTime) -> bool
Trait Implementations§
Source§impl Clone for VerificationKey
impl Clone for VerificationKey
Source§impl Debug for VerificationKey
impl Debug for VerificationKey
Source§impl<'de> Deserialize<'de> for VerificationKey
impl<'de> Deserialize<'de> for VerificationKey
Source§fn 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
impl Eq for VerificationKey
Source§impl PartialEq for VerificationKey
impl PartialEq for VerificationKey
Source§impl Serialize for VerificationKey
impl Serialize for VerificationKey
impl StructuralPartialEq for VerificationKey
Auto Trait Implementations§
impl Freeze for VerificationKey
impl RefUnwindSafe for VerificationKey
impl Send for VerificationKey
impl Sync for VerificationKey
impl Unpin for VerificationKey
impl UnsafeUnpin for VerificationKey
impl UnwindSafe for VerificationKey
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