pub struct DetailedItemValuation {
pub item_id: String,
pub count: i64,
pub base_value: f64,
pub modifiers_value: f64,
pub total: f64,
}Expand description
The valuation of a single DetailedItemStack.
Fields§
§item_id: String§count: i64§base_value: f64Value of the bare items (unit price × count).
modifiers_value: f64Added value of priced modifiers (recomb, potato books, enchantments…).
total: f64Trait Implementations§
Source§impl Clone for DetailedItemValuation
impl Clone for DetailedItemValuation
Source§fn clone(&self) -> DetailedItemValuation
fn clone(&self) -> DetailedItemValuation
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 DetailedItemValuation
impl Debug for DetailedItemValuation
Source§impl PartialEq for DetailedItemValuation
impl PartialEq for DetailedItemValuation
Source§impl Serialize for DetailedItemValuation
impl Serialize for DetailedItemValuation
impl StructuralPartialEq for DetailedItemValuation
Auto Trait Implementations§
impl Freeze for DetailedItemValuation
impl RefUnwindSafe for DetailedItemValuation
impl Send for DetailedItemValuation
impl Sync for DetailedItemValuation
impl Unpin for DetailedItemValuation
impl UnsafeUnpin for DetailedItemValuation
impl UnwindSafe for DetailedItemValuation
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