pub struct AuthenticatedPrincipal<'a> {
pub subject: &'a str,
pub kind: PrincipalKind,
pub authentication_ref: &'a str,
pub authenticated_until_unix: u64,
pub identifiers: &'a [QualifiedIdentifier<'a>],
}Expand description
Rust-only result of a native authentication provider. No Deserialize or source-facing constructor exists. Fields are filled only by trusted host code after native proof/key/session and identifier association checks.
Fields§
§subject: &'a str§kind: PrincipalKind§authentication_ref: &'a str§authenticated_until_unix: u64§identifiers: &'a [QualifiedIdentifier<'a>]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AuthenticatedPrincipal<'a>
impl<'a> RefUnwindSafe for AuthenticatedPrincipal<'a>
impl<'a> Send for AuthenticatedPrincipal<'a>
impl<'a> Sync for AuthenticatedPrincipal<'a>
impl<'a> Unpin for AuthenticatedPrincipal<'a>
impl<'a> UnsafeUnpin for AuthenticatedPrincipal<'a>
impl<'a> UnwindSafe for AuthenticatedPrincipal<'a>
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