[][src]Struct dhl_api::DHLPackageItem

pub struct DHLPackageItem {
    pub id: String,
    pub has_complete_details: bool,
    pub item_details: DHLPackageItemDetails,
    pub package_not_found: Option<DHLPackageNotFoundInfo>,
}

Parcel item elements

Fields

id: String

Tracking code, just for keeping track.

has_complete_details: bool

(unsure what this means, if you know let me know ❤️)

item_details: DHLPackageItemDetails

Details for this parcel

package_not_found: Option<DHLPackageNotFoundInfo>

If no parcel was found, this variable is not None and may contains reasons as to why. Otherwise it should be None.

Trait Implementations

impl Debug for DHLPackageItem[src]

impl<'de> Deserialize<'de> for DHLPackageItem[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, 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.