Struct stripe::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: i32
Two-digit number representing the card’s expiration month.
exp_year: i32
Four-digit number representing the card’s expiration year.
number: String
The 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
Auto Trait Implementations§
impl RefUnwindSafe for CardDetailsParams
impl Send for CardDetailsParams
impl Sync for CardDetailsParams
impl Unpin for CardDetailsParams
impl UnwindSafe for CardDetailsParams
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