pub struct CreatePaymentMethodCardDetailsParamsNetworks {
pub preferred: Option<CreatePaymentMethodCardDetailsParamsNetworksPreferred>,
}Expand description
Contains information about card networks used to process the payment.
Fields§
§preferred: Option<CreatePaymentMethodCardDetailsParamsNetworksPreferred>The customer’s preferred card network for co-branded cards.
Supports cartes_bancaires, mastercard, or visa.
Selection of a network that does not apply to the card will be stored as invalid_preference on the card.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentMethodCardDetailsParamsNetworks
impl Clone for CreatePaymentMethodCardDetailsParamsNetworks
Source§fn clone(&self) -> CreatePaymentMethodCardDetailsParamsNetworks
fn clone(&self) -> CreatePaymentMethodCardDetailsParamsNetworks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for CreatePaymentMethodCardDetailsParamsNetworks
impl PartialEq for CreatePaymentMethodCardDetailsParamsNetworks
Source§fn eq(&self, other: &CreatePaymentMethodCardDetailsParamsNetworks) -> bool
fn eq(&self, other: &CreatePaymentMethodCardDetailsParamsNetworks) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodCardDetailsParamsNetworks
impl StructuralPartialEq for CreatePaymentMethodCardDetailsParamsNetworks
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodCardDetailsParamsNetworks
impl RefUnwindSafe for CreatePaymentMethodCardDetailsParamsNetworks
impl Send for CreatePaymentMethodCardDetailsParamsNetworks
impl Sync for CreatePaymentMethodCardDetailsParamsNetworks
impl Unpin for CreatePaymentMethodCardDetailsParamsNetworks
impl UnsafeUnpin for CreatePaymentMethodCardDetailsParamsNetworks
impl UnwindSafe for CreatePaymentMethodCardDetailsParamsNetworks
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