pub struct RawOrder {
pub id: OrderId,
pub items: Vec<RawCartLine>,
pub coupon_amount: Money,
pub shipping_method: ShippingMethod,
pub tax: Money,
pub currency: Currency,
pub status: OrderStatus,
pub total: Money,
}Fields§
§id: OrderId§items: Vec<RawCartLine>§coupon_amount: Money§shipping_method: ShippingMethod§tax: Money§currency: Currency§status: OrderStatus§total: MoneyTrait Implementations§
impl Eq for RawOrder
impl StructuralPartialEq for RawOrder
Auto Trait Implementations§
impl Freeze for RawOrder
impl RefUnwindSafe for RawOrder
impl Send for RawOrder
impl Sync for RawOrder
impl Unpin for RawOrder
impl UnsafeUnpin for RawOrder
impl UnwindSafe for RawOrder
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