pub struct ChainKeyBatchHeaderV1 {Show 13 fields
pub schema_version: u16,
pub root_canister_id: Principal,
pub batch_id: [u8; 32],
pub proof_epoch: u64,
pub registry_epoch: u64,
pub registry_hash: [u8; 32],
pub tree_root: [u8; 32],
pub not_before_ns: u64,
pub expires_at_ns: u64,
pub algorithm: ChainKeyAlgorithm,
pub key_id: ChainKeyKeyId,
pub derivation_path_hash: [u8; 32],
pub key_version: u64,
}Fields§
§schema_version: u16§root_canister_id: Principal§batch_id: [u8; 32]§proof_epoch: u64§registry_epoch: u64§registry_hash: [u8; 32]§tree_root: [u8; 32]§not_before_ns: u64§expires_at_ns: u64§algorithm: ChainKeyAlgorithm§key_id: ChainKeyKeyId§derivation_path_hash: [u8; 32]§key_version: u64Trait Implementations§
Source§impl CandidType for ChainKeyBatchHeaderV1
impl CandidType for ChainKeyBatchHeaderV1
Source§impl Clone for ChainKeyBatchHeaderV1
impl Clone for ChainKeyBatchHeaderV1
Source§fn clone(&self) -> ChainKeyBatchHeaderV1
fn clone(&self) -> ChainKeyBatchHeaderV1
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 ChainKeyBatchHeaderV1
impl Debug for ChainKeyBatchHeaderV1
Source§impl<'de> Deserialize<'de> for ChainKeyBatchHeaderV1
impl<'de> Deserialize<'de> for ChainKeyBatchHeaderV1
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 ChainKeyBatchHeaderV1
Source§impl PartialEq for ChainKeyBatchHeaderV1
impl PartialEq for ChainKeyBatchHeaderV1
Source§fn eq(&self, other: &ChainKeyBatchHeaderV1) -> bool
fn eq(&self, other: &ChainKeyBatchHeaderV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChainKeyBatchHeaderV1
impl Serialize for ChainKeyBatchHeaderV1
impl StructuralPartialEq for ChainKeyBatchHeaderV1
Auto Trait Implementations§
impl Freeze for ChainKeyBatchHeaderV1
impl RefUnwindSafe for ChainKeyBatchHeaderV1
impl Send for ChainKeyBatchHeaderV1
impl Sync for ChainKeyBatchHeaderV1
impl Unpin for ChainKeyBatchHeaderV1
impl UnsafeUnpin for ChainKeyBatchHeaderV1
impl UnwindSafe for ChainKeyBatchHeaderV1
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