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