pub struct Pallet {
pub dimensions: Box<Dimensions>,
pub weight: Option<Box<Weight>>,
pub is_stacked: bool,
}Expand description
Pallet : Pallet information.
Fields
dimensions: Box<Dimensions>weight: Option<Box<Weight>>is_stacked: boolIndicates whether pallets will be stacked when carrier arrives for pick-up.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Pallet
impl<'de> Deserialize<'de> for Pallet
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
impl StructuralPartialEq for Pallet
Auto Trait Implementations
impl RefUnwindSafe for Pallet
impl Send for Pallet
impl Sync for Pallet
impl Unpin for Pallet
impl UnwindSafe for Pallet
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