pub struct IdentityRecoveryRecord {
pub schema: String,
pub schema_version: u8,
pub record_id: Blake3Hex,
pub old_pilot_id: PilotId,
pub new_pilot_id: PilotId,
pub resolver_id: String,
pub basis: IdentityRecoveryBasis,
pub created_at: String,
pub signature: String,
}Fields§
§schema: String§schema_version: u8§record_id: Blake3Hex§old_pilot_id: PilotId§new_pilot_id: PilotId§resolver_id: String§basis: IdentityRecoveryBasis§created_at: String§signature: StringImplementations§
Source§impl IdentityRecoveryRecord
impl IdentityRecoveryRecord
pub fn issue( resolver_secret_key: &SecretKey, old_pilot_id: PilotId, new_pilot_id: PilotId, basis: IdentityRecoveryBasis, created_at: impl Into<String>, ) -> Result<Self, FlightGovernanceRecordError>
pub fn validate(&self) -> Result<(), FlightGovernanceRecordError>
Trait Implementations§
Source§impl Clone for IdentityRecoveryRecord
impl Clone for IdentityRecoveryRecord
Source§fn clone(&self) -> IdentityRecoveryRecord
fn clone(&self) -> IdentityRecoveryRecord
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 IdentityRecoveryRecord
impl Debug for IdentityRecoveryRecord
Source§impl<'de> Deserialize<'de> for IdentityRecoveryRecord
impl<'de> Deserialize<'de> for IdentityRecoveryRecord
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
Source§impl PartialEq for IdentityRecoveryRecord
impl PartialEq for IdentityRecoveryRecord
Source§fn eq(&self, other: &IdentityRecoveryRecord) -> bool
fn eq(&self, other: &IdentityRecoveryRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IdentityRecoveryRecord
impl Serialize for IdentityRecoveryRecord
impl Eq for IdentityRecoveryRecord
impl StructuralPartialEq for IdentityRecoveryRecord
Auto Trait Implementations§
impl Freeze for IdentityRecoveryRecord
impl RefUnwindSafe for IdentityRecoveryRecord
impl Send for IdentityRecoveryRecord
impl Sync for IdentityRecoveryRecord
impl Unpin for IdentityRecoveryRecord
impl UnsafeUnpin for IdentityRecoveryRecord
impl UnwindSafe for IdentityRecoveryRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.