pub struct PaymentStatusResponse {
pub provider: PaymentProvider,
pub provider_reference: ProviderReference,
pub status: PaymentStatus,
}Expand description
Normalized payment status response.
Fields§
§provider: PaymentProviderProvider handling the payment.
provider_reference: ProviderReferenceProvider reference.
status: PaymentStatusNormalized status.
Implementations§
Source§impl PaymentStatusResponse
impl PaymentStatusResponse
Sourcepub const fn provider(&self) -> &PaymentProvider
pub const fn provider(&self) -> &PaymentProvider
Returns the provider handling the payment.
Sourcepub const fn provider_reference(&self) -> &ProviderReference
pub const fn provider_reference(&self) -> &ProviderReference
Returns the provider reference.
Sourcepub const fn status(&self) -> PaymentStatus
pub const fn status(&self) -> PaymentStatus
Returns the normalized status.
Trait Implementations§
Source§impl Clone for PaymentStatusResponse
impl Clone for PaymentStatusResponse
Source§fn clone(&self) -> PaymentStatusResponse
fn clone(&self) -> PaymentStatusResponse
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 PaymentStatusResponse
impl Debug for PaymentStatusResponse
Source§impl PartialEq for PaymentStatusResponse
impl PartialEq for PaymentStatusResponse
Source§fn eq(&self, other: &PaymentStatusResponse) -> bool
fn eq(&self, other: &PaymentStatusResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentStatusResponse
impl StructuralPartialEq for PaymentStatusResponse
Auto Trait Implementations§
impl Freeze for PaymentStatusResponse
impl RefUnwindSafe for PaymentStatusResponse
impl Send for PaymentStatusResponse
impl Sync for PaymentStatusResponse
impl Unpin for PaymentStatusResponse
impl UnsafeUnpin for PaymentStatusResponse
impl UnwindSafe for PaymentStatusResponse
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