pub struct UpdateCartPayload {
pub user_id: Option<u32>,
pub merge: Option<bool>,
pub products: Vec<CartProduct>,
}Fields§
§user_id: Option<u32>§merge: Option<bool>§products: Vec<CartProduct>Trait Implementations§
Source§impl Debug for UpdateCartPayload
impl Debug for UpdateCartPayload
Source§impl Default for UpdateCartPayload
impl Default for UpdateCartPayload
Source§fn default() -> UpdateCartPayload
fn default() -> UpdateCartPayload
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateCartPayload
impl RefUnwindSafe for UpdateCartPayload
impl Send for UpdateCartPayload
impl Sync for UpdateCartPayload
impl Unpin for UpdateCartPayload
impl UnwindSafe for UpdateCartPayload
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