Struct libstripe::Card

source ·
pub struct Card {
Show 28 fields pub id: String, pub object: Object, pub account: Option<String>, pub address_city: Option<String>, pub address_country: Option<String>, pub address_line1: Option<String>, pub address_line1_check: Option<CardCheck>, pub address_line2: Option<String>, pub address_state: Option<String>, pub address_zip: Option<String>, pub address_zip_check: Option<CardCheck>, pub available_payout_methods: Option<Vec<AvailablePayoutMethods>>, pub brand: CardBrand, pub country: String, pub currency: Option<Currency>, pub customer: Option<String>, pub cvc_check: Option<CardCheck>, pub default_for_currency: Option<bool>, pub dynamic_last4: Option<String>, pub exp_month: i32, pub exp_year: i32, pub fingerprint: String, pub funding: CardType, pub last4: String, pub metadata: HashMap<String, String>, pub name: Option<String>, pub recipient: Option<String>, pub tokenization_method: Option<TokenizationMethod>,
}

Fields§

§id: String§object: Object§account: Option<String>§address_city: Option<String>§address_country: Option<String>§address_line1: Option<String>§address_line1_check: Option<CardCheck>§address_line2: Option<String>§address_state: Option<String>§address_zip: Option<String>§address_zip_check: Option<CardCheck>§available_payout_methods: Option<Vec<AvailablePayoutMethods>>§brand: CardBrand§country: String§currency: Option<Currency>§customer: Option<String>§cvc_check: Option<CardCheck>§default_for_currency: Option<bool>§dynamic_last4: Option<String>§exp_month: i32§exp_year: i32§fingerprint: String§funding: CardType§last4: String§metadata: HashMap<String, String>§name: Option<String>§recipient: Option<String>§tokenization_method: Option<TokenizationMethod>

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.