pub enum PaymentResult {
Success {
response: Response,
settlement: SettleResponse,
},
PaymentRequired {
response: Response,
},
VerificationFailed {
response: Response,
},
SettlementFailed {
response: Response,
},
}Expand description
Payment processing result
Variants§
Success
Payment verified and settled successfully
PaymentRequired
Payment required (402 response)
VerificationFailed
Payment verification failed
SettlementFailed
Payment settlement failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaymentResult
impl !RefUnwindSafe for PaymentResult
impl Send for PaymentResult
impl !Sync for PaymentResult
impl Unpin for PaymentResult
impl !UnwindSafe for PaymentResult
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