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