pub struct TrustKeyState {
pub principals: BTreeMap<String, PrincipalTrustState>,
pub keys: BTreeMap<String, KeyLifecycleState>,
}Expand description
Combined trust state for principals and signing keys in a snapshot.
Fields§
§principals: BTreeMap<String, PrincipalTrustState>Trust tier and key associations per principal id.
keys: BTreeMap<String, KeyLifecycleState>Lifecycle state per key id.
Trait Implementations§
Source§impl Clone for TrustKeyState
impl Clone for TrustKeyState
Source§fn clone(&self) -> TrustKeyState
fn clone(&self) -> TrustKeyState
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 TrustKeyState
impl Debug for TrustKeyState
Source§impl Default for TrustKeyState
impl Default for TrustKeyState
Source§fn default() -> TrustKeyState
fn default() -> TrustKeyState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrustKeyStatewhere
TrustKeyState: Default,
impl<'de> Deserialize<'de> for TrustKeyStatewhere
TrustKeyState: Default,
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
Source§impl PartialEq for TrustKeyState
impl PartialEq for TrustKeyState
Source§fn eq(&self, other: &TrustKeyState) -> bool
fn eq(&self, other: &TrustKeyState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrustKeyState
impl Serialize for TrustKeyState
impl Eq for TrustKeyState
impl StructuralPartialEq for TrustKeyState
Auto Trait Implementations§
impl Freeze for TrustKeyState
impl RefUnwindSafe for TrustKeyState
impl Send for TrustKeyState
impl Sync for TrustKeyState
impl Unpin for TrustKeyState
impl UnsafeUnpin for TrustKeyState
impl UnwindSafe for TrustKeyState
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