Struct stripe::PaymentMethodCardPresentNetworks
source · pub struct PaymentMethodCardPresentNetworks {
pub available: Vec<String>,
pub preferred: Option<String>,
}
Expand description
The resource representing a Stripe “payment_method_card_present_networks”.
Fields§
§available: Vec<String>
All available networks for the card.
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 copy 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 Default for PaymentMethodCardPresentNetworks
impl Default for PaymentMethodCardPresentNetworks
source§fn default() -> PaymentMethodCardPresentNetworks
fn default() -> PaymentMethodCardPresentNetworks
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentMethodCardPresentNetworks
impl<'de> Deserialize<'de> for PaymentMethodCardPresentNetworks
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 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