pub struct ItemValuation {
pub item_id: String,
pub count: i64,
pub unit_price: f64,
pub total: f64,
}Expand description
The valuation of a single ItemStack.
Fields§
§item_id: String§count: i64§unit_price: f64§total: f64Trait Implementations§
Source§impl Clone for ItemValuation
impl Clone for ItemValuation
Source§fn clone(&self) -> ItemValuation
fn clone(&self) -> ItemValuation
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 ItemValuation
impl Debug for ItemValuation
Source§impl PartialEq for ItemValuation
impl PartialEq for ItemValuation
Source§impl Serialize for ItemValuation
impl Serialize for ItemValuation
impl StructuralPartialEq for ItemValuation
Auto Trait Implementations§
impl Freeze for ItemValuation
impl RefUnwindSafe for ItemValuation
impl Send for ItemValuation
impl Sync for ItemValuation
impl Unpin for ItemValuation
impl UnsafeUnpin for ItemValuation
impl UnwindSafe for ItemValuation
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