pub struct DHLPackageItem {
pub id: String,
pub has_complete_details: bool,
pub item_details: DHLPackageItemDetails,
pub package_not_found: Option<DHLPackageNotFoundInfo>,
}
Expand description
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§
Source§impl Debug for DHLPackageItem
impl Debug for DHLPackageItem
Source§impl<'de> Deserialize<'de> for DHLPackageItem
impl<'de> Deserialize<'de> for DHLPackageItem
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 DHLPackageItem
impl RefUnwindSafe for DHLPackageItem
impl Send for DHLPackageItem
impl Sync for DHLPackageItem
impl Unpin for DHLPackageItem
impl UnwindSafe for DHLPackageItem
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