pub struct KnowledgeAuthorityKeyV1 {
pub version: u64,
pub principal: String,
pub key_id: String,
pub algorithm: String,
pub public_key: Vec<u8>,
pub not_before: Option<u64>,
pub not_after: Option<u64>,
pub revoked_at: Option<u64>,
}Fields§
§version: u64§principal: String§key_id: String§algorithm: String§public_key: Vec<u8>§not_before: Option<u64>§not_after: Option<u64>§revoked_at: Option<u64>Trait Implementations§
Source§impl Clone for KnowledgeAuthorityKeyV1
impl Clone for KnowledgeAuthorityKeyV1
Source§fn clone(&self) -> KnowledgeAuthorityKeyV1
fn clone(&self) -> KnowledgeAuthorityKeyV1
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 KnowledgeAuthorityKeyV1
impl Debug for KnowledgeAuthorityKeyV1
Source§impl PartialEq for KnowledgeAuthorityKeyV1
impl PartialEq for KnowledgeAuthorityKeyV1
impl StructuralPartialEq for KnowledgeAuthorityKeyV1
Auto Trait Implementations§
impl Freeze for KnowledgeAuthorityKeyV1
impl RefUnwindSafe for KnowledgeAuthorityKeyV1
impl Send for KnowledgeAuthorityKeyV1
impl Sync for KnowledgeAuthorityKeyV1
impl Unpin for KnowledgeAuthorityKeyV1
impl UnsafeUnpin for KnowledgeAuthorityKeyV1
impl UnwindSafe for KnowledgeAuthorityKeyV1
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