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§
Source§impl Clone for StoredPaymentSource
impl Clone for StoredPaymentSource
Source§fn clone(&self) -> StoredPaymentSource
fn clone(&self) -> StoredPaymentSource
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StoredPaymentSource
impl Debug for StoredPaymentSource
Source§impl Default for StoredPaymentSource
impl Default for StoredPaymentSource
Source§fn default() -> StoredPaymentSource
fn default() -> StoredPaymentSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoredPaymentSource
impl<'de> Deserialize<'de> for StoredPaymentSource
Source§fn 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
Auto Trait Implementations§
impl Freeze for StoredPaymentSource
impl RefUnwindSafe for StoredPaymentSource
impl Send for StoredPaymentSource
impl Sync for StoredPaymentSource
impl Unpin for StoredPaymentSource
impl UnwindSafe for StoredPaymentSource
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