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 · 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>
Auto Trait Implementations§
impl Freeze for PaymentMethodCardPresentNetworks
impl RefUnwindSafe for PaymentMethodCardPresentNetworks
impl Send for PaymentMethodCardPresentNetworks
impl Sync for PaymentMethodCardPresentNetworks
impl Unpin 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