Struct amazon_sp_easy_ship::models::dimensions::Dimensions
source · [−]pub struct Dimensions {
pub length: Option<f32>,
pub width: Option<f32>,
pub height: Option<f32>,
pub unit: Option<UnitOfLength>,
pub identifier: Option<String>,
}Expand description
Dimensions : The dimensions of the scheduled package.
Fields
length: Option<f32>The numerical value of the specified dimension.
width: Option<f32>The numerical value of the specified dimension.
height: Option<f32>The numerical value of the specified dimension.
unit: Option<UnitOfLength>identifier: Option<String>A string of up to 255 characters.
Implementations
sourceimpl Dimensions
impl Dimensions
sourcepub fn new() -> Dimensions
pub fn new() -> Dimensions
The dimensions of the scheduled package.
Trait Implementations
sourceimpl Clone for Dimensions
impl Clone for Dimensions
sourcefn clone(&self) -> Dimensions
fn clone(&self) -> Dimensions
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 Dimensions
impl Debug for Dimensions
sourceimpl Default for Dimensions
impl Default for Dimensions
sourcefn default() -> Dimensions
fn default() -> Dimensions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Dimensions
impl<'de> Deserialize<'de> for Dimensions
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<Dimensions> for Dimensions
impl PartialEq<Dimensions> for Dimensions
sourcefn eq(&self, other: &Dimensions) -> bool
fn eq(&self, other: &Dimensions) -> bool
sourceimpl Serialize for Dimensions
impl Serialize for Dimensions
impl StructuralPartialEq for Dimensions
Auto Trait Implementations
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
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