pub struct Networks {
pub available: Vec<String>,
pub preferred: Option<String>,
}
Fields§
§available: Vec<String>
All available networks for the card.
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§
source§impl<'de> Deserialize<'de> for Networks
impl<'de> Deserialize<'de> for Networks
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 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