pub struct RawCartLine {
pub sku: Sku,
pub price: Money,
pub cost: Money,
pub quantity: Quantity,
pub discount: Money,
pub weight: Weight,
}Fields§
§sku: Sku§price: Money§cost: Money§quantity: Quantity§discount: Money§weight: WeightTrait Implementations§
Source§impl Clone for RawCartLine
impl Clone for RawCartLine
Source§fn clone(&self) -> RawCartLine
fn clone(&self) -> RawCartLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawCartLine
impl Debug for RawCartLine
Source§impl PartialEq for RawCartLine
impl PartialEq for RawCartLine
Source§fn eq(&self, other: &RawCartLine) -> bool
fn eq(&self, other: &RawCartLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RawCartLine
impl Eq for RawCartLine
impl StructuralPartialEq for RawCartLine
Auto Trait Implementations§
impl Freeze for RawCartLine
impl RefUnwindSafe for RawCartLine
impl Send for RawCartLine
impl Sync for RawCartLine
impl Unpin for RawCartLine
impl UnsafeUnpin for RawCartLine
impl UnwindSafe for RawCartLine
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