pub struct TransactionStore { /* private fields */ }Implementations§
Source§impl TransactionStore
impl TransactionStore
pub fn new() -> Self
pub async fn generate_transaction_id(&self) -> String
pub async fn verify_and_remove_transaction(&self, transaction_id: &str) -> bool
Trait Implementations§
Source§impl Clone for TransactionStore
impl Clone for TransactionStore
Source§fn clone(&self) -> TransactionStore
fn clone(&self) -> TransactionStore
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 TransactionStore
impl Debug for TransactionStore
Auto Trait Implementations§
impl Freeze for TransactionStore
impl !RefUnwindSafe for TransactionStore
impl Send for TransactionStore
impl Sync for TransactionStore
impl Unpin for TransactionStore
impl !UnwindSafe for TransactionStore
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