pub struct Shipment {
pub id: String,
pub service: String,
pub origin: PointLocation,
pub destination: PointLocation,
pub status: ShipmentStatus,
pub details: ShipmentDetails,
pub events: Vec<ShipmentEvent>,
}Expand description
Single Shipment details
Fields§
§id: String§service: String§origin: PointLocation§destination: PointLocation§status: ShipmentStatus§details: ShipmentDetails§events: Vec<ShipmentEvent>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shipment
impl<'de> Deserialize<'de> for Shipment
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 Shipment
impl RefUnwindSafe for Shipment
impl Send for Shipment
impl Sync for Shipment
impl Unpin for Shipment
impl UnwindSafe for Shipment
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