Struct stripe::PackageDimensions
source · 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 copy 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 Default for PackageDimensions
impl Default for PackageDimensions
source§fn default() -> PackageDimensions
fn default() -> PackageDimensions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PackageDimensions
impl<'de> Deserialize<'de> for PackageDimensions
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
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