pub struct CardAddressPortable {
pub address_line1: Option<String>,
pub address_line2: Option<String>,
pub admin_area_2: Option<String>,
pub admin_area_1: Option<String>,
pub postal_code: Option<String>,
pub country_code: String,
}
Fields
address_line1: Option<String>
The first line of the address. For example, number or street. For example, 173 Drury Lane. Required for data entry and compliance and risk checks. Must contain the full address.
address_line2: Option<String>
The second line of the address. For example, suite or apartment number. */
admin_area_2: Option<String>
A city, town, or village. Smaller than admin_area_level_1. */
admin_area_1: Option<String>
The highest level sub-division in a country, which is usually a province, state, or ISO-3166-2 subdivision. Format for postal delivery. For example, CA and not California. Value, by country, is:
- UK. A county.
- US. A state.
- Canada. A province.
- Japan. A prefecture.
- Switzerland. A kanton.
postal_code: Option<String>
The postal code, which is the zip code or equivalent. Typically required for countries with a postal code or an equivalent.
country_code: String
The two-character ISO 3166-1 code that identifies the country or region. */
Trait Implementations
sourceimpl Clone for CardAddressPortable
impl Clone for CardAddressPortable
sourcefn clone(&self) -> CardAddressPortable
fn clone(&self) -> CardAddressPortable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CardAddressPortable
impl Debug for CardAddressPortable
sourceimpl Default for CardAddressPortable
impl Default for CardAddressPortable
sourcefn default() -> CardAddressPortable
fn default() -> CardAddressPortable
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CardAddressPortable
impl<'de> Deserialize<'de> for CardAddressPortable
sourcefn 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
sourceimpl Serialize for CardAddressPortable
impl Serialize for CardAddressPortable
Auto Trait Implementations
impl RefUnwindSafe for CardAddressPortable
impl Send for CardAddressPortable
impl Sync for CardAddressPortable
impl Unpin for CardAddressPortable
impl UnwindSafe for CardAddressPortable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more