pub struct Card {
pub id: String,
pub account: Option<String>,
pub address_city: Option<String>,
pub address_country: Option<String>,
pub address_line1: Option<String>,
pub address_line1_check: Option<CheckResult>,
pub address_line2: Option<String>,
pub address_state: Option<String>,
pub address_zip: Option<String>,
pub address_zip_check: Option<CheckResult>,
pub available_payout_methods: Option<Vec<String>>,
pub brand: CardBrand,
pub country: String,
pub currency: Option<Currency>,
pub customer: Option<String>,
pub cvc_check: Option<CheckResult>,
pub default_for_currency: Option<bool>,
pub dynamic_last4: Option<String>,
pub exp_month: u32,
pub exp_year: u32,
pub fingerprint: String,
pub funding: CardType,
pub last4: String,
pub metadata: Metadata,
pub name: Option<String>,
pub recipient: Option<String>,
pub tokenization_method: Option<TokenizationMethod>,
}
brand: CardBrand
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static