pub struct TrustedApprovalKeyCache {
pub source: ApprovalTrustSource,
pub last_refresh_at: Option<String>,
pub keys: Vec<TrustedApprovalKey>,
}Expand description
A locally persisted trusted key set plus minimal refresh metadata.
Fields§
§source: ApprovalTrustSourceSource classification for the current key set.
last_refresh_at: Option<String>When the key set was most recently refreshed online.
keys: Vec<TrustedApprovalKey>Trusted signing keys available to the runtime.
Trait Implementations§
Source§impl Clone for TrustedApprovalKeyCache
impl Clone for TrustedApprovalKeyCache
Source§fn clone(&self) -> TrustedApprovalKeyCache
fn clone(&self) -> TrustedApprovalKeyCache
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 TrustedApprovalKeyCache
impl Debug for TrustedApprovalKeyCache
Source§impl PartialEq for TrustedApprovalKeyCache
impl PartialEq for TrustedApprovalKeyCache
impl Eq for TrustedApprovalKeyCache
impl StructuralPartialEq for TrustedApprovalKeyCache
Auto Trait Implementations§
impl Freeze for TrustedApprovalKeyCache
impl RefUnwindSafe for TrustedApprovalKeyCache
impl Send for TrustedApprovalKeyCache
impl Sync for TrustedApprovalKeyCache
impl Unpin for TrustedApprovalKeyCache
impl UnwindSafe for TrustedApprovalKeyCache
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