pub struct DHLPackageItemHistory {
pub events: Option<Vec<DHLPackageItemHistoryEvent>>,
pub current_status: Option<String>,
pub steps: u64,
}Expand description
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: u64Number of steps there are (or should be?) - might as well use events.len() 🤷♀️
Trait Implementations§
Source§impl Debug for DHLPackageItemHistory
impl Debug for DHLPackageItemHistory
Source§impl<'de> Deserialize<'de> for DHLPackageItemHistory
impl<'de> Deserialize<'de> for DHLPackageItemHistory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DHLPackageItemHistory
impl RefUnwindSafe for DHLPackageItemHistory
impl Send for DHLPackageItemHistory
impl Sync for DHLPackageItemHistory
impl Unpin for DHLPackageItemHistory
impl UnsafeUnpin for DHLPackageItemHistory
impl UnwindSafe for DHLPackageItemHistory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more