Struct credit_card::CreditCard [−][src]
pub struct CreditCard { pub number: String, pub cardholder_name: String, pub expiration_month: String, pub expiration_year: String, pub brand: Option<String>, pub security_code: Option<String>, }
Fields
number: String
cardholder_name: String
expiration_month: String
expiration_year: String
brand: Option<String>
security_code: Option<String>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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 CreditCard
impl Send for CreditCard
impl Sync for CreditCard
impl Unpin for CreditCard
impl UnwindSafe for CreditCard
Blanket Implementations
Mutably borrows from an owned value. Read more