Struct stripe::generated::payment::payment_method::UpdateApiParam    
source · pub struct UpdateApiParam {
    pub exp_month: Option<i32>,
    pub exp_year: Option<i32>,
}Expand description
If this is a card PaymentMethod, this hash contains the user’s card details.
Fields§
§exp_month: Option<i32>Two-digit number representing the card’s expiration month.
exp_year: Option<i32>Four-digit number representing the card’s expiration year.
Trait Implementations§
source§impl Clone for UpdateApiParam
 
impl Clone for UpdateApiParam
source§fn clone(&self) -> UpdateApiParam
 
fn clone(&self) -> UpdateApiParam
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 UpdateApiParam
 
impl Debug for UpdateApiParam
source§impl Default for UpdateApiParam
 
impl Default for UpdateApiParam
source§fn default() -> UpdateApiParam
 
fn default() -> UpdateApiParam
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateApiParam
 
impl<'de> Deserialize<'de> for UpdateApiParam
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