pub struct StoredPaymentSource {
pub payment_initiator: PaymentInitiator,
pub payment_type: PaymentType,
pub usage: Option<Usage>,
pub previous_network_transaction_reference: Option<NetworkTransactionReference>,
}
Fields
payment_initiator: PaymentInitiator
The person or party who initiated or triggered the payment.
payment_type: PaymentType
Indicates the type of the stored payment_source payment.
usage: Option<Usage>
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
previous_network_transaction_reference: Option<NetworkTransactionReference>
Reference values used by the card network to identify a transaction.
Trait Implementations
sourceimpl Clone for StoredPaymentSource
impl Clone for StoredPaymentSource
sourcefn clone(&self) -> StoredPaymentSource
fn clone(&self) -> StoredPaymentSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StoredPaymentSource
impl Debug for StoredPaymentSource
sourceimpl Default for StoredPaymentSource
impl Default for StoredPaymentSource
sourcefn default() -> StoredPaymentSource
fn default() -> StoredPaymentSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for StoredPaymentSource
impl<'de> Deserialize<'de> for StoredPaymentSource
sourcefn 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
sourceimpl Serialize for StoredPaymentSource
impl Serialize for StoredPaymentSource
Auto Trait Implementations
impl RefUnwindSafe for StoredPaymentSource
impl Send for StoredPaymentSource
impl Sync for StoredPaymentSource
impl Unpin for StoredPaymentSource
impl UnwindSafe for StoredPaymentSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more