pub struct TransactionRecord {
pub id: String,
pub subject: Subject,
pub context: Context,
pub status: TransactionStatus,
pub policy_id: String,
pub completed_factors: Vec<String>,
pub pending_challenges: Value,
pub metadata: Value,
pub created_at: SystemTime,
pub expires_at: SystemTime,
pub updated_at: SystemTime,
}Expand description
Represents a verification transaction in storage
Fields§
§id: String§subject: Subject§context: Context§status: TransactionStatus§policy_id: String§completed_factors: Vec<String>§pending_challenges: Value§metadata: Value§created_at: SystemTime§expires_at: SystemTime§updated_at: SystemTimeTrait Implementations§
Source§impl Clone for TransactionRecord
impl Clone for TransactionRecord
Source§fn clone(&self) -> TransactionRecord
fn clone(&self) -> TransactionRecord
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 TransactionRecord
impl Debug for TransactionRecord
Source§impl<'de> Deserialize<'de> for TransactionRecord
impl<'de> Deserialize<'de> for TransactionRecord
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 TransactionRecord
impl RefUnwindSafe for TransactionRecord
impl Send for TransactionRecord
impl Sync for TransactionRecord
impl Unpin for TransactionRecord
impl UnsafeUnpin for TransactionRecord
impl UnwindSafe for TransactionRecord
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