[][src]Struct paypal_rs::common::AddressDetails

pub struct AddressDetails {
    pub street_number: Option<String>,
    pub street_name: Option<String>,
    pub street_type: Option<String>,
    pub delivery_service: Option<String>,
    pub building_name: Option<String>,
    pub sub_building: Option<String>,
}

The non-portable additional address details

Fields

street_number: Option<String>

The street number.

street_name: Option<String>

The street name. Just Drury in Drury Lane.

street_type: Option<String>

The street type. For example, avenue, boulevard, road, or expressway.

delivery_service: Option<String>

The delivery service. Post office box, bag number, or post office name.

building_name: Option<String>

A named locations that represents the premise. Usually a building name or number or collection of buildings with a common name or number. For example, Craven House.

sub_building: Option<String>

The first-order entity below a named building or location that represents the sub-premise. Usually a single building within a collection of buildings with a common name. Can be a flat, story, floor, room, or apartment.

Trait Implementations

impl Debug for AddressDetails[src]

impl Default for AddressDetails[src]

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

impl Serialize for AddressDetails[src]

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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.