#[repr(C)]pub struct PamojaDelegation {
pub epoch: u64,
pub release_key: [u8; 32],
pub expires: u64,
}Expand description
A statement, signed by the anchor, that a second key may sign releases.
Fields§
§epoch: u64Rises with every rotation, so a retired key cannot be reinstated by replaying the statement that once authorised it.
release_key: [u8; 32]The public key that may sign manifests while this delegation stands.
expires: u64When the delegation stops being honoured, in seconds since the Unix
epoch, or 0 to never expire.
Trait Implementations§
Source§impl Clone for PamojaDelegation
impl Clone for PamojaDelegation
Source§fn clone(&self) -> PamojaDelegation
fn clone(&self) -> PamojaDelegation
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 moreimpl Copy for PamojaDelegation
Source§impl Debug for PamojaDelegation
impl Debug for PamojaDelegation
impl Eq for PamojaDelegation
Source§impl PartialEq for PamojaDelegation
impl PartialEq for PamojaDelegation
Source§fn eq(&self, other: &PamojaDelegation) -> bool
fn eq(&self, other: &PamojaDelegation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaDelegation
Auto Trait Implementations§
impl Freeze for PamojaDelegation
impl RefUnwindSafe for PamojaDelegation
impl Send for PamojaDelegation
impl Sync for PamojaDelegation
impl Unpin for PamojaDelegation
impl UnsafeUnpin for PamojaDelegation
impl UnwindSafe for PamojaDelegation
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