Struct amazon_sp_vendor_shipments::models::carton_reference_details::CartonReferenceDetails
source · [−]pub struct CartonReferenceDetails {
pub carton_count: Option<i32>,
pub carton_reference_numbers: Vec<String>,
}Fields
carton_count: Option<i32>Pallet level carton count is mandatory for single item pallet and optional for mixed item pallet.
carton_reference_numbers: Vec<String>Array of reference numbers for the carton that are part of this pallet/shipment. Please provide the cartonSequenceNumber from the ‘cartons’ segment to refer to that carton’s details here.
Implementations
sourceimpl CartonReferenceDetails
impl CartonReferenceDetails
pub fn new(carton_reference_numbers: Vec<String>) -> CartonReferenceDetails
Trait Implementations
sourceimpl Clone for CartonReferenceDetails
impl Clone for CartonReferenceDetails
sourcefn clone(&self) -> CartonReferenceDetails
fn clone(&self) -> CartonReferenceDetails
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 CartonReferenceDetails
impl Debug for CartonReferenceDetails
sourceimpl Default for CartonReferenceDetails
impl Default for CartonReferenceDetails
sourcefn default() -> CartonReferenceDetails
fn default() -> CartonReferenceDetails
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CartonReferenceDetails
impl<'de> Deserialize<'de> for CartonReferenceDetails
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<CartonReferenceDetails> for CartonReferenceDetails
impl PartialEq<CartonReferenceDetails> for CartonReferenceDetails
sourcefn eq(&self, other: &CartonReferenceDetails) -> bool
fn eq(&self, other: &CartonReferenceDetails) -> bool
sourceimpl Serialize for CartonReferenceDetails
impl Serialize for CartonReferenceDetails
impl StructuralPartialEq for CartonReferenceDetails
Auto Trait Implementations
impl RefUnwindSafe for CartonReferenceDetails
impl Send for CartonReferenceDetails
impl Sync for CartonReferenceDetails
impl Unpin for CartonReferenceDetails
impl UnwindSafe for CartonReferenceDetails
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