[][src]Struct stripe::Address

pub struct Address {
    pub line1: Option<String>,
    pub line2: Option<String>,
    pub city: Option<String>,
    pub state: Option<String>,
    pub postal_code: Option<String>,
    pub country: Option<String>,
    pub town: Option<String>,
}

Fields

line1: Option<String>

Address line 1 or block/building number (e.g. Street address/PO Box/Company name)

line2: Option<String>

Address line 2 or building details (e.g. Apartment/Suite/Unit/Building)

city: Option<String>

City (or Ward)

state: Option<String>

State (or Prefecture)

postal_code: Option<String>

ZIP or postal code

country: Option<String>

Two-letter country code (ISO 3166-1 alpha-2)

town: Option<String>

The town/cho-me (Japan only)

Trait Implementations

impl Clone for Address[src]

impl Debug for Address[src]

impl<'de> Deserialize<'de> for Address[src]

impl Serialize for Address[src]

Auto Trait Implementations

impl RefUnwindSafe for Address

impl Send for Address

impl Sync for Address

impl Unpin for Address

impl UnwindSafe for Address

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.