Struct stripe::generated::payment::payment_method::CardDetailsParams
source · pub struct CardDetailsParams {
pub cvc: Option<String>,
pub exp_month: i32,
pub exp_year: i32,
pub number: String,
}Fields§
§cvc: Option<String>The card’s CVC.
It is highly recommended to always include this value.
exp_month: i32Two-digit number representing the card’s expiration month.
exp_year: i32Four-digit number representing the card’s expiration year.
number: StringThe card number, as a string without any separators.
Trait Implementations§
source§impl Clone for CardDetailsParams
impl Clone for CardDetailsParams
source§fn clone(&self) -> CardDetailsParams
fn clone(&self) -> CardDetailsParams
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 CardDetailsParams
impl Debug for CardDetailsParams
source§impl Default for CardDetailsParams
impl Default for CardDetailsParams
source§fn default() -> CardDetailsParams
fn default() -> CardDetailsParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CardDetailsParams
impl<'de> Deserialize<'de> for CardDetailsParams
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