pub struct PrincipalTrustState {
pub trust_tier: TrustTier,
pub key_ids: BTreeSet<String>,
}Expand description
Trust tier and associated signing keys for one principal.
Fields§
§trust_tier: TrustTierTrust tier assigned to this principal.
key_ids: BTreeSet<String>Key ids associated with this principal.
Trait Implementations§
Source§impl Clone for PrincipalTrustState
impl Clone for PrincipalTrustState
Source§fn clone(&self) -> PrincipalTrustState
fn clone(&self) -> PrincipalTrustState
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 PrincipalTrustState
impl Debug for PrincipalTrustState
Source§impl<'de> Deserialize<'de> for PrincipalTrustState
impl<'de> Deserialize<'de> for PrincipalTrustState
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 Ord for PrincipalTrustState
impl Ord for PrincipalTrustState
Source§fn cmp(&self, other: &PrincipalTrustState) -> Ordering
fn cmp(&self, other: &PrincipalTrustState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrincipalTrustState
impl PartialEq for PrincipalTrustState
Source§fn eq(&self, other: &PrincipalTrustState) -> bool
fn eq(&self, other: &PrincipalTrustState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PrincipalTrustState
impl PartialOrd for PrincipalTrustState
Source§impl Serialize for PrincipalTrustState
impl Serialize for PrincipalTrustState
impl Eq for PrincipalTrustState
impl StructuralPartialEq for PrincipalTrustState
Auto Trait Implementations§
impl Freeze for PrincipalTrustState
impl RefUnwindSafe for PrincipalTrustState
impl Send for PrincipalTrustState
impl Sync for PrincipalTrustState
impl Unpin for PrincipalTrustState
impl UnsafeUnpin for PrincipalTrustState
impl UnwindSafe for PrincipalTrustState
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