pub struct Payment(/* private fields */);Expand description
Data wrapper for payment ready to send for initialization
Implementations§
Trait Implementations§
Source§impl Verify for Payment
impl Verify for Payment
Source§fn verify_transaction<'life0, 'async_trait>(
&'life0 self,
reference: String,
) -> Pin<Box<dyn Future<Output = Result<VerificationData, ResponseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn verify_transaction<'life0, 'async_trait>(
&'life0 self,
reference: String,
) -> Pin<Box<dyn Future<Output = Result<VerificationData, ResponseError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Verify the status of a transaction, given the reference of the transaction
Auto Trait Implementations§
impl Freeze for Payment
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnwindSafe for Payment
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