pub struct PaymentMethodCardPresentNetworks {
pub available: Vec<String>,
pub preferred: Option<String>,
}Fields§
§available: Vec<String>All networks available for selection via payment_method_options.card.network.
preferred: Option<String>The preferred network for the card.
Trait Implementations§
Source§impl Clone for PaymentMethodCardPresentNetworks
impl Clone for PaymentMethodCardPresentNetworks
Source§fn clone(&self) -> PaymentMethodCardPresentNetworks
fn clone(&self) -> PaymentMethodCardPresentNetworks
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 FromValueOpt for PaymentMethodCardPresentNetworks
impl FromValueOpt for PaymentMethodCardPresentNetworks
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodCardPresentNetworks
impl PartialEq for PaymentMethodCardPresentNetworks
Source§fn eq(&self, other: &PaymentMethodCardPresentNetworks) -> bool
fn eq(&self, other: &PaymentMethodCardPresentNetworks) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodCardPresentNetworks
impl StructuralPartialEq for PaymentMethodCardPresentNetworks
Auto Trait Implementations§
impl Freeze for PaymentMethodCardPresentNetworks
impl RefUnwindSafe for PaymentMethodCardPresentNetworks
impl Send for PaymentMethodCardPresentNetworks
impl Sync for PaymentMethodCardPresentNetworks
impl Unpin for PaymentMethodCardPresentNetworks
impl UnsafeUnpin for PaymentMethodCardPresentNetworks
impl UnwindSafe for PaymentMethodCardPresentNetworks
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