pub struct CartLine { /* private fields */ }Implementations§
Source§impl CartLine
impl CartLine
pub fn sku(&self) -> <Sku as FieldAccess>::Output<'_>
pub fn price(&self) -> <Money as FieldAccess>::Output<'_>
pub fn cost(&self) -> <Money as FieldAccess>::Output<'_>
pub fn discount(&self) -> <Money as FieldAccess>::Output<'_>
pub fn weight(&self) -> <Weight as FieldAccess>::Output<'_>
Trait Implementations§
impl Eq for CartLine
impl StructuralPartialEq for CartLine
Auto Trait Implementations§
impl Freeze for CartLine
impl RefUnwindSafe for CartLine
impl Send for CartLine
impl Sync for CartLine
impl Unpin for CartLine
impl UnsafeUnpin for CartLine
impl UnwindSafe for CartLine
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