pub struct RootKeyPolicyV1 {Show 14 fields
pub root_canister_id: Principal,
pub proof_mode: RootProofMode,
pub algorithm: ChainKeyAlgorithm,
pub key_id: ChainKeyKeyId,
pub derivation_path_hash: [u8; 32],
pub public_key: Vec<u8>,
pub key_version: u64,
pub min_accepted_key_version: u64,
pub min_accepted_proof_epoch: u64,
pub min_accepted_registry_epoch: u64,
pub max_revocation_latency_ns: u64,
pub valid_from_ns: u64,
pub accept_until_ns: u64,
pub build_network: BuildNetwork,
}Fields§
§root_canister_id: Principal§proof_mode: RootProofMode§algorithm: ChainKeyAlgorithm§key_id: ChainKeyKeyId§derivation_path_hash: [u8; 32]§public_key: Vec<u8>§key_version: u64§min_accepted_key_version: u64§min_accepted_proof_epoch: u64§min_accepted_registry_epoch: u64§max_revocation_latency_ns: u64§valid_from_ns: u64§accept_until_ns: u64§build_network: BuildNetworkTrait Implementations§
Source§impl CandidType for RootKeyPolicyV1
impl CandidType for RootKeyPolicyV1
Source§impl Clone for RootKeyPolicyV1
impl Clone for RootKeyPolicyV1
Source§fn clone(&self) -> RootKeyPolicyV1
fn clone(&self) -> RootKeyPolicyV1
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 RootKeyPolicyV1
impl Debug for RootKeyPolicyV1
Source§impl<'de> Deserialize<'de> for RootKeyPolicyV1
impl<'de> Deserialize<'de> for RootKeyPolicyV1
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 RootKeyPolicyV1
Source§impl PartialEq for RootKeyPolicyV1
impl PartialEq for RootKeyPolicyV1
Source§fn eq(&self, other: &RootKeyPolicyV1) -> bool
fn eq(&self, other: &RootKeyPolicyV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RootKeyPolicyV1
impl Serialize for RootKeyPolicyV1
impl StructuralPartialEq for RootKeyPolicyV1
Auto Trait Implementations§
impl Freeze for RootKeyPolicyV1
impl RefUnwindSafe for RootKeyPolicyV1
impl Send for RootKeyPolicyV1
impl Sync for RootKeyPolicyV1
impl Unpin for RootKeyPolicyV1
impl UnsafeUnpin for RootKeyPolicyV1
impl UnwindSafe for RootKeyPolicyV1
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