pub struct Networks {
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 co-branded cards.
Can be cartes_bancaires
, mastercard
, visa
or invalid_preference
if requested network is not valid for the card.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Networks
impl RefUnwindSafe for Networks
impl Send for Networks
impl Sync for Networks
impl Unpin for Networks
impl UnwindSafe for Networks
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