pub struct VerificationKey {
pub key_id: String,
pub algorithm: SignatureAlgorithm,
pub public_key: String,
pub not_before: String,
pub not_after: Option<String>,
pub revoked_at: Option<String>,
pub purpose: Option<String>,
}Expand description
One of N public keys the platform may have used to sign records.
Fields§
§key_id: String§algorithm: SignatureAlgorithm§public_key: String§not_before: String§not_after: Option<String>§revoked_at: Option<String>§purpose: Option<String>Trait Implementations§
Source§impl Clone for VerificationKey
impl Clone for VerificationKey
Source§fn clone(&self) -> VerificationKey
fn clone(&self) -> VerificationKey
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 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§fn eq(&self, other: &VerificationKey) -> bool
fn eq(&self, other: &VerificationKey) -> bool
Tests for
self and other values to be equal, and is used by ==.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