Struct stripe::CreditCardSpecs
source · pub struct CreditCardSpecs {
pub address_city: Option<String>,
pub address_country: Option<String>,
pub address_line1: Option<String>,
pub address_line2: Option<String>,
pub address_state: Option<String>,
pub address_zip: Option<String>,
pub currency: Option<String>,
pub cvc: Option<String>,
pub exp_month: String,
pub exp_year: String,
pub name: Option<String>,
pub number: String,
}
Fields§
§address_city: Option<String>
§address_country: Option<String>
§address_line1: Option<String>
§address_line2: Option<String>
§address_state: Option<String>
§address_zip: Option<String>
§currency: Option<String>
§cvc: Option<String>
§exp_month: String
§exp_year: String
§name: Option<String>
§number: String
Trait Implementations§
source§impl Clone for CreditCardSpecs
impl Clone for CreditCardSpecs
source§fn clone(&self) -> CreditCardSpecs
fn clone(&self) -> CreditCardSpecs
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 Debug for CreditCardSpecs
impl Debug for CreditCardSpecs
source§impl Default for CreditCardSpecs
impl Default for CreditCardSpecs
source§fn default() -> CreditCardSpecs
fn default() -> CreditCardSpecs
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreditCardSpecs
impl<'de> Deserialize<'de> for CreditCardSpecs
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