pub struct CredentialAuthorityHint {
pub state: CredentialAuthorityState,
pub generation: u64,
pub updated_at_unix_ms: u64,
}Expand description
Non-secret routing/presentation metadata. Configured is never proof of
authenticated identity; authoritative operations still read the OS store.
Fields§
§state: CredentialAuthorityState§generation: u64§updated_at_unix_ms: u64Implementations§
Source§impl CredentialAuthorityHint
impl CredentialAuthorityHint
pub fn unknown() -> Self
pub fn signed_out(generation: u64, updated_at_unix_ms: u64) -> Self
pub fn configured(generation: u64, updated_at_unix_ms: u64) -> Self
Trait Implementations§
Source§impl Clone for CredentialAuthorityHint
impl Clone for CredentialAuthorityHint
Source§fn clone(&self) -> CredentialAuthorityHint
fn clone(&self) -> CredentialAuthorityHint
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 CredentialAuthorityHint
impl Debug for CredentialAuthorityHint
Source§impl<'de> Deserialize<'de> for CredentialAuthorityHint
impl<'de> Deserialize<'de> for CredentialAuthorityHint
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
impl Eq for CredentialAuthorityHint
Source§impl PartialEq for CredentialAuthorityHint
impl PartialEq for CredentialAuthorityHint
Source§impl Serialize for CredentialAuthorityHint
impl Serialize for CredentialAuthorityHint
impl StructuralPartialEq for CredentialAuthorityHint
Auto Trait Implementations§
impl Freeze for CredentialAuthorityHint
impl RefUnwindSafe for CredentialAuthorityHint
impl Send for CredentialAuthorityHint
impl Sync for CredentialAuthorityHint
impl Unpin for CredentialAuthorityHint
impl UnsafeUnpin for CredentialAuthorityHint
impl UnwindSafe for CredentialAuthorityHint
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