[][src]Struct dhl_api::DHLPackageItemHistory

pub struct DHLPackageItemHistory {
    pub events: Option<Vec<DHLPackageItemHistoryEvent>>,
    pub current_status: Option<String>,
    pub steps: u64,
}

Parcel history

Fields

events: Option<Vec<DHLPackageItemHistoryEvent>>

The parcel may or may not have made a few stops already, this Vec may contain them.

current_status: Option<String>

Current state of the parcel

steps: u64

Number of steps there are (or should be?) - might as well use events.len() 🤷‍♀️

Trait Implementations

impl Debug for DHLPackageItemHistory[src]

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