pub struct PackingConfiguration {
pub box_packing_methods: Option<Vec<BoxContentInformationSource>>,
pub box_requirements: Option<Box<BoxRequirements>>,
pub shipping_requirements: Option<Vec<ShippingRequirements>>,
}Expand description
PackingConfiguration : A way to configure this packing option. Some box content information sources might not be allowed. Non-standard minimum and maximum box weights might be enforced.
Fields§
§box_packing_methods: Option<Vec<BoxContentInformationSource>>The box content information sources that are allowed.
box_requirements: Option<Box<BoxRequirements>>§shipping_requirements: Option<Vec<ShippingRequirements>>A list of supported shipping requirements for this packing configuration.
Implementations§
Source§impl PackingConfiguration
impl PackingConfiguration
Sourcepub fn new() -> PackingConfiguration
pub fn new() -> PackingConfiguration
A way to configure this packing option. Some box content information sources might not be allowed. Non-standard minimum and maximum box weights might be enforced.
Trait Implementations§
Source§impl Clone for PackingConfiguration
impl Clone for PackingConfiguration
Source§fn clone(&self) -> PackingConfiguration
fn clone(&self) -> PackingConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackingConfiguration
impl Debug for PackingConfiguration
Source§impl Default for PackingConfiguration
impl Default for PackingConfiguration
Source§fn default() -> PackingConfiguration
fn default() -> PackingConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackingConfiguration
impl<'de> Deserialize<'de> for PackingConfiguration
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
Source§impl PartialEq for PackingConfiguration
impl PartialEq for PackingConfiguration
Source§impl Serialize for PackingConfiguration
impl Serialize for PackingConfiguration
impl StructuralPartialEq for PackingConfiguration
Auto Trait Implementations§
impl Freeze for PackingConfiguration
impl RefUnwindSafe for PackingConfiguration
impl Send for PackingConfiguration
impl Sync for PackingConfiguration
impl Unpin for PackingConfiguration
impl UnwindSafe for PackingConfiguration
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