pub struct Package {
pub scheduled_package_id: Box<ScheduledPackageId>,
pub package_dimensions: Box<Dimensions>,
pub package_weight: Box<Weight>,
pub package_items: Option<Vec<Item>>,
pub package_time_slot: Box<TimeSlot>,
pub package_identifier: Option<String>,
pub invoice: Option<Box<InvoiceData>>,
pub package_status: Option<PackageStatus>,
pub tracking_details: Option<Box<TrackingDetails>>,
}Expand description
Package : This object contains all the details of the scheduled Easy Ship package.
Fields§
§scheduled_package_id: Box<ScheduledPackageId>§package_dimensions: Box<Dimensions>§package_weight: Box<Weight>§package_items: Option<Vec<Item>>A list of items contained in the package.
package_time_slot: Box<TimeSlot>§package_identifier: Option<String>Optional seller-created identifier that is printed on the shipping label to help the seller identify the package.
invoice: Option<Box<InvoiceData>>§package_status: Option<PackageStatus>§tracking_details: Option<Box<TrackingDetails>>Implementations§
Source§impl Package
impl Package
Sourcepub fn new(
scheduled_package_id: ScheduledPackageId,
package_dimensions: Dimensions,
package_weight: Weight,
package_time_slot: TimeSlot,
) -> Package
pub fn new( scheduled_package_id: ScheduledPackageId, package_dimensions: Dimensions, package_weight: Weight, package_time_slot: TimeSlot, ) -> Package
This object contains all the details of the scheduled Easy Ship package.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Package
impl<'de> Deserialize<'de> for Package
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
impl StructuralPartialEq for Package
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnwindSafe for Package
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