[][src]Struct shippo::Location

pub struct Location {
    pub building_location_type: String,
    pub building_type: String,
    pub instructions: String,
    pub address: Address,
}

The location data type.

Fields

building_location_type: String

Where your parcels will be available for pickup. "Security Deck" and "Shipping Dock" are only supported for DHL Express. "Front Door" | "Back Door" | "Side Door" | "Knock on Door" | "Ring Bell" | "Mail Room" "Office" | "Reception" | "In/At Mailbox" | "Security Deck" | "Shipping Dock" | "Other"

building_type: String

The type of building where the pickup is located. "apartment" | "building" | "department" | "floor" | "room" | "suite"

instructions: String

Pickup instructions for the courier. This is a mandatory field if the building_location_type is “Other”.

address: Address

The pickup address, which includes your name, company name, street address, city, state, zip code, country, phone number, and email address (strings). Special characters should not be included in any address element, especially name, company, and email.

Trait Implementations

impl Clone for Location[src]

impl Debug for Location[src]

impl Default for Location[src]

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

impl Serialize for Location[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> DynClone for T where
    T: Clone
[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> 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.