pub struct SetReaderDisplayTerminalReaderCartLineItems {
pub amount: i64,
pub description: String,
pub quantity: u64,
}Expand description
Array of line items to display.
Fields§
§amount: i64The price of the item in the smallest currency unit.
description: StringThe description or name of the item.
quantity: u64The quantity of the line item being purchased.
Implementations§
Trait Implementations§
Source§impl Clone for SetReaderDisplayTerminalReaderCartLineItems
impl Clone for SetReaderDisplayTerminalReaderCartLineItems
Source§fn clone(&self) -> SetReaderDisplayTerminalReaderCartLineItems
fn clone(&self) -> SetReaderDisplayTerminalReaderCartLineItems
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 PartialEq for SetReaderDisplayTerminalReaderCartLineItems
impl PartialEq for SetReaderDisplayTerminalReaderCartLineItems
Source§fn eq(&self, other: &SetReaderDisplayTerminalReaderCartLineItems) -> bool
fn eq(&self, other: &SetReaderDisplayTerminalReaderCartLineItems) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SetReaderDisplayTerminalReaderCartLineItems
impl StructuralPartialEq for SetReaderDisplayTerminalReaderCartLineItems
Auto Trait Implementations§
impl Freeze for SetReaderDisplayTerminalReaderCartLineItems
impl RefUnwindSafe for SetReaderDisplayTerminalReaderCartLineItems
impl Send for SetReaderDisplayTerminalReaderCartLineItems
impl Sync for SetReaderDisplayTerminalReaderCartLineItems
impl Unpin for SetReaderDisplayTerminalReaderCartLineItems
impl UnsafeUnpin for SetReaderDisplayTerminalReaderCartLineItems
impl UnwindSafe for SetReaderDisplayTerminalReaderCartLineItems
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