pub struct RootKeyCertificateV2 {
pub root_pid: Principal,
pub key_id: String,
pub alg: SignatureAlgorithmV2,
pub public_key_sec1: Vec<u8>,
pub key_hash: [u8; 32],
pub not_before: u64,
pub not_after: Option<u64>,
pub authority_sig: Vec<u8>,
}Fields§
§root_pid: Principal§key_id: String§alg: SignatureAlgorithmV2§public_key_sec1: Vec<u8>§key_hash: [u8; 32]§not_before: u64§not_after: Option<u64>Trait Implementations§
Source§impl CandidType for RootKeyCertificateV2
impl CandidType for RootKeyCertificateV2
Source§impl Clone for RootKeyCertificateV2
impl Clone for RootKeyCertificateV2
Source§fn clone(&self) -> RootKeyCertificateV2
fn clone(&self) -> RootKeyCertificateV2
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 RootKeyCertificateV2
impl Debug for RootKeyCertificateV2
Source§impl<'de> Deserialize<'de> for RootKeyCertificateV2
impl<'de> Deserialize<'de> for RootKeyCertificateV2
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
Source§impl PartialEq for RootKeyCertificateV2
impl PartialEq for RootKeyCertificateV2
Source§fn eq(&self, other: &RootKeyCertificateV2) -> bool
fn eq(&self, other: &RootKeyCertificateV2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootKeyCertificateV2
impl Serialize for RootKeyCertificateV2
impl Eq for RootKeyCertificateV2
impl StructuralPartialEq for RootKeyCertificateV2
Auto Trait Implementations§
impl Freeze for RootKeyCertificateV2
impl RefUnwindSafe for RootKeyCertificateV2
impl Send for RootKeyCertificateV2
impl Sync for RootKeyCertificateV2
impl Unpin for RootKeyCertificateV2
impl UnsafeUnpin for RootKeyCertificateV2
impl UnwindSafe for RootKeyCertificateV2
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