pub struct TradePriceBookEntry { /* private fields */ }Implementations§
Source§impl TradePriceBookEntry
impl TradePriceBookEntry
pub fn sku(&self) -> <Sku as FieldAccess>::Output<'_>
pub fn currency(&self) -> <Currency as FieldAccess>::Output<'_>
pub fn unit_cost(&self) -> <Money as FieldAccess>::Output<'_>
pub fn retail_unit_price(&self) -> <Money as FieldAccess>::Output<'_>
pub fn wholesale_unit_price(&self) -> <Money as FieldAccess>::Output<'_>
pub fn retail_margin(&self) -> <Money as FieldAccess>::Output<'_>
pub fn wholesale_margin(&self) -> <Money as FieldAccess>::Output<'_>
pub fn wholesale_min_qty(&self) -> <Quantity as FieldAccess>::Output<'_>
Trait Implementations§
Source§impl Clone for TradePriceBookEntry
impl Clone for TradePriceBookEntry
Source§fn clone(&self) -> TradePriceBookEntry
fn clone(&self) -> TradePriceBookEntry
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 Debug for TradePriceBookEntry
impl Debug for TradePriceBookEntry
Source§impl PartialEq for TradePriceBookEntry
impl PartialEq for TradePriceBookEntry
Source§fn eq(&self, other: &TradePriceBookEntry) -> bool
fn eq(&self, other: &TradePriceBookEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TradePriceBookEntry
impl StructuralPartialEq for TradePriceBookEntry
Auto Trait Implementations§
impl Freeze for TradePriceBookEntry
impl RefUnwindSafe for TradePriceBookEntry
impl Send for TradePriceBookEntry
impl Sync for TradePriceBookEntry
impl Unpin for TradePriceBookEntry
impl UnsafeUnpin for TradePriceBookEntry
impl UnwindSafe for TradePriceBookEntry
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