pub struct AuthoritySnapshot {
pub public_key_hex: String,
pub generation: u64,
pub rotated_at: u64,
pub trusted_keys: Vec<AuthorityTrustedKeySnapshot>,
}Fields§
§public_key_hex: String§generation: u64§rotated_at: u64§trusted_keys: Vec<AuthorityTrustedKeySnapshot>Trait Implementations§
Source§impl Clone for AuthoritySnapshot
impl Clone for AuthoritySnapshot
Source§fn clone(&self) -> AuthoritySnapshot
fn clone(&self) -> AuthoritySnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthoritySnapshot
impl Debug for AuthoritySnapshot
Source§impl PartialEq for AuthoritySnapshot
impl PartialEq for AuthoritySnapshot
impl Eq for AuthoritySnapshot
impl StructuralPartialEq for AuthoritySnapshot
Auto Trait Implementations§
impl Freeze for AuthoritySnapshot
impl RefUnwindSafe for AuthoritySnapshot
impl Send for AuthoritySnapshot
impl Sync for AuthoritySnapshot
impl Unpin for AuthoritySnapshot
impl UnsafeUnpin for AuthoritySnapshot
impl UnwindSafe for AuthoritySnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.