pub struct VerifiedIdentity {
pub provider: String,
pub subject: String,
pub email: Option<String>,
pub loa: u8,
pub raw: Value,
}Expand description
The result of a successful provider exchange. Translated by Shield
into a signed Proof before being cached / returned.
Fields§
§provider: String§subject: StringStable provider-side subject id (e.g. ID.me’s sub claim). This
is the identity key – emails can change, subjects do not.
email: Option<String>Email at the time of verification, for human-readable logs and allow-list matching by address.
loa: u8Level of assurance achieved (ID.me IAL/LOA tier).
raw: ValueProvider-specific raw response payload, retained for audit but NEVER persisted to the proof cache (PII surface).
Trait Implementations§
Source§impl Clone for VerifiedIdentity
impl Clone for VerifiedIdentity
Source§fn clone(&self) -> VerifiedIdentity
fn clone(&self) -> VerifiedIdentity
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 VerifiedIdentity
impl Debug for VerifiedIdentity
Source§impl<'de> Deserialize<'de> for VerifiedIdentity
impl<'de> Deserialize<'de> for VerifiedIdentity
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
Auto Trait Implementations§
impl Freeze for VerifiedIdentity
impl RefUnwindSafe for VerifiedIdentity
impl Send for VerifiedIdentity
impl Sync for VerifiedIdentity
impl Unpin for VerifiedIdentity
impl UnsafeUnpin for VerifiedIdentity
impl UnwindSafe for VerifiedIdentity
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