pub struct RotationChain { /* private fields */ }Expand description
The human’s rotation chain, already checked by verify_chain and
matched against identity.pub. Holding one means both checks passed —
there is no constructor that skips them.
Implementations§
Source§impl RotationChain
impl RotationChain
Sourcepub fn entries(&self) -> &[RotationAttestation]
pub fn entries(&self) -> &[RotationAttestation]
Every attestation, bootstrap first.
Sourcepub fn head_pubkey(&self) -> [u8; 32]
pub fn head_pubkey(&self) -> [u8; 32]
The current key. The only key that carries authority (D-9).
pub fn head_key_version(&self) -> u32
Trait Implementations§
Source§impl Clone for RotationChain
impl Clone for RotationChain
Auto Trait Implementations§
impl Forget for RotationChain
impl Freeze for RotationChain
impl Move for RotationChain
impl RefUnwindSafe for RotationChain
impl Send for RotationChain
impl Sync for RotationChain
impl Unpin for RotationChain
impl UnsafeUnpin for RotationChain
impl UnwindSafe for RotationChain
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