pub struct IdentityBinding {
pub provider: String,
pub id: String,
pub trust_level: TrustLevel,
pub bound_at: String,
}Expand description
A SIGIL identity binding record.
Binds a user to an identity provider with a trust level. Multiple bindings can exist for the same user (e.g., Google + eIDAS).
Fields§
§provider: StringIdentity provider name (e.g., “google”, “eidas”, “did:key”, “hoodik”).
id: StringProvider-specific user identifier.
trust_level: TrustLevelTrust level of this binding.
bound_at: StringISO 8601 timestamp of when the binding was created.
Trait Implementations§
Source§impl Clone for IdentityBinding
impl Clone for IdentityBinding
Source§fn clone(&self) -> IdentityBinding
fn clone(&self) -> IdentityBinding
Returns a duplicate of the value. Read more
1.0.0 · 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 IdentityBinding
impl Debug for IdentityBinding
Source§impl<'de> Deserialize<'de> for IdentityBinding
impl<'de> Deserialize<'de> for IdentityBinding
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 IdentityBinding
impl RefUnwindSafe for IdentityBinding
impl Send for IdentityBinding
impl Sync for IdentityBinding
impl Unpin for IdentityBinding
impl UnsafeUnpin for IdentityBinding
impl UnwindSafe for IdentityBinding
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