pub struct RecoveryCredential {
pub id: RecoveryCredentialId,
pub identity_id: RuntimeIdentityId,
pub name: String,
pub purpose: String,
pub status: RecoveryCredentialStatus,
pub ceiling: BTreeMap<String, Vec<CredentialCapability>>,
pub predecessor_id: Option<RecoveryCredentialId>,
pub successor_id: Option<RecoveryCredentialId>,
pub created_by: String,
pub created_at: DateTime<Utc>,
pub last_used_at: Option<DateTime<Utc>>,
pub revoked_at: Option<DateTime<Utc>>,
}Fields§
§id: RecoveryCredentialId§identity_id: RuntimeIdentityId§name: String§purpose: String§status: RecoveryCredentialStatus§ceiling: BTreeMap<String, Vec<CredentialCapability>>§predecessor_id: Option<RecoveryCredentialId>§successor_id: Option<RecoveryCredentialId>§created_by: String§created_at: DateTime<Utc>§last_used_at: Option<DateTime<Utc>>§revoked_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for RecoveryCredential
impl Clone for RecoveryCredential
Source§impl Debug for RecoveryCredential
impl Debug for RecoveryCredential
Source§impl<'de> Deserialize<'de> for RecoveryCredential
impl<'de> Deserialize<'de> for RecoveryCredential
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 RecoveryCredential
Source§impl PartialEq for RecoveryCredential
impl PartialEq for RecoveryCredential
Source§impl Serialize for RecoveryCredential
impl Serialize for RecoveryCredential
impl StructuralPartialEq for RecoveryCredential
Auto Trait Implementations§
impl Freeze for RecoveryCredential
impl RefUnwindSafe for RecoveryCredential
impl Send for RecoveryCredential
impl Sync for RecoveryCredential
impl Unpin for RecoveryCredential
impl UnsafeUnpin for RecoveryCredential
impl UnwindSafe for RecoveryCredential
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