Struct stripe::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
Auto Trait Implementations§
impl Freeze for UpdateApiParam
impl RefUnwindSafe for UpdateApiParam
impl Send for UpdateApiParam
impl Sync for UpdateApiParam
impl Unpin for UpdateApiParam
impl UnwindSafe for UpdateApiParam
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