Struct amazon_sp_easy_ship::models::package_details::PackageDetails
source · [−]pub struct PackageDetails {
pub package_items: Option<Vec<Item>>,
pub package_time_slot: Box<TimeSlot>,
pub package_identifier: Option<String>,
}Expand description
PackageDetails : Package details. Includes packageItems, packageTimeSlot, and packageIdentifier.
Fields
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.
Implementations
sourceimpl PackageDetails
impl PackageDetails
sourcepub fn new(package_time_slot: TimeSlot) -> PackageDetails
pub fn new(package_time_slot: TimeSlot) -> PackageDetails
Package details. Includes packageItems, packageTimeSlot, and packageIdentifier.
Trait Implementations
sourceimpl Clone for PackageDetails
impl Clone for PackageDetails
sourcefn clone(&self) -> PackageDetails
fn clone(&self) -> PackageDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PackageDetails
impl Debug for PackageDetails
sourceimpl Default for PackageDetails
impl Default for PackageDetails
sourcefn default() -> PackageDetails
fn default() -> PackageDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PackageDetails
impl<'de> Deserialize<'de> for PackageDetails
sourcefn 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
sourceimpl PartialEq<PackageDetails> for PackageDetails
impl PartialEq<PackageDetails> for PackageDetails
sourcefn eq(&self, other: &PackageDetails) -> bool
fn eq(&self, other: &PackageDetails) -> bool
sourceimpl Serialize for PackageDetails
impl Serialize for PackageDetails
impl StructuralPartialEq for PackageDetails
Auto Trait Implementations
impl RefUnwindSafe for PackageDetails
impl Send for PackageDetails
impl Sync for PackageDetails
impl Unpin for PackageDetails
impl UnwindSafe for PackageDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more