pub struct ShippingPrice {
pub amount: f64,
pub method_type: ShippingMethodType,
}Expand description
Fields§
§amount: f64§method_type: ShippingMethodTypeTrait Implementations§
Source§impl Clone for ShippingPrice
impl Clone for ShippingPrice
Source§fn clone(&self) -> ShippingPrice
fn clone(&self) -> ShippingPrice
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 ShippingPrice
impl Debug for ShippingPrice
Source§impl<'de> Deserialize<'de> for ShippingPrice
impl<'de> Deserialize<'de> for ShippingPrice
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 ShippingPrice
impl RefUnwindSafe for ShippingPrice
impl Send for ShippingPrice
impl Sync for ShippingPrice
impl Unpin for ShippingPrice
impl UnwindSafe for ShippingPrice
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