pub struct CheckoutResult {
pub order: Order,
pub cart: Cart,
}Expand description
The result of checking out a cart.
Fields§
§order: OrderThe newly created order.
cart: CartThe emptied cart after checkout.
Trait Implementations§
Source§impl Clone for CheckoutResult
impl Clone for CheckoutResult
Source§fn clone(&self) -> CheckoutResult
fn clone(&self) -> CheckoutResult
Returns a duplicate 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 CheckoutResult
impl Debug for CheckoutResult
Source§impl PartialEq for CheckoutResult
impl PartialEq for CheckoutResult
impl Eq for CheckoutResult
impl StructuralPartialEq for CheckoutResult
Auto Trait Implementations§
impl Freeze for CheckoutResult
impl RefUnwindSafe for CheckoutResult
impl Send for CheckoutResult
impl Sync for CheckoutResult
impl Unpin for CheckoutResult
impl UnsafeUnpin for CheckoutResult
impl UnwindSafe for CheckoutResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.