pub struct PackageDimensions {
pub height: f64,
pub length: f64,
pub weight: f64,
pub width: f64,
}
Fields§
§height: f64
Height, in inches.
length: f64
Length, in inches.
weight: f64
Weight, in ounces.
width: f64
Width, in inches.
Trait Implementations§
Source§impl Clone for PackageDimensions
impl Clone for PackageDimensions
Source§fn clone(&self) -> PackageDimensions
fn clone(&self) -> PackageDimensions
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 PackageDimensions
impl Debug for PackageDimensions
Source§impl Deserialize for PackageDimensions
impl Deserialize for PackageDimensions
Source§impl FromValueOpt for PackageDimensions
impl FromValueOpt for PackageDimensions
fn from_value(v: Value) -> Option<Self>
impl Copy for PackageDimensions
Auto Trait Implementations§
impl Freeze for PackageDimensions
impl RefUnwindSafe for PackageDimensions
impl Send for PackageDimensions
impl Sync for PackageDimensions
impl Unpin for PackageDimensions
impl UnwindSafe for PackageDimensions
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