pub struct AuthenticationEvidence {
pub principal_id: ActorId,
pub tenant_id: TenantId,
pub device_id: Option<DeviceId>,
pub auth_method: AuthMethod,
pub assurance: AssuranceLevel,
pub issuer: String,
pub audience: String,
pub authenticated_at_unix_ms: u64,
pub expires_at_unix_ms: u64,
pub device_state: Option<DeviceState>,
}Expand description
Authentication evidence produced by a trusted authentication adapter.
Fields§
§principal_id: ActorId§tenant_id: TenantId§device_id: Option<DeviceId>§auth_method: AuthMethod§assurance: AssuranceLevel§issuer: String§audience: String§authenticated_at_unix_ms: u64§expires_at_unix_ms: u64§device_state: Option<DeviceState>Trait Implementations§
Source§impl Clone for AuthenticationEvidence
impl Clone for AuthenticationEvidence
Source§fn clone(&self) -> AuthenticationEvidence
fn clone(&self) -> AuthenticationEvidence
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 AuthenticationEvidence
impl Debug for AuthenticationEvidence
Source§impl<'de> Deserialize<'de> for AuthenticationEvidence
impl<'de> Deserialize<'de> for AuthenticationEvidence
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 AuthenticationEvidence
Source§impl PartialEq for AuthenticationEvidence
impl PartialEq for AuthenticationEvidence
Source§impl Serialize for AuthenticationEvidence
impl Serialize for AuthenticationEvidence
impl StructuralPartialEq for AuthenticationEvidence
Auto Trait Implementations§
impl Freeze for AuthenticationEvidence
impl RefUnwindSafe for AuthenticationEvidence
impl Send for AuthenticationEvidence
impl Sync for AuthenticationEvidence
impl Unpin for AuthenticationEvidence
impl UnsafeUnpin for AuthenticationEvidence
impl UnwindSafe for AuthenticationEvidence
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