Struct spacetraders::shared::Order [−][src]
Expand description
A representation of a purchase order
Fields
good: Good
The good that was purchased
quantity: i32
The quantity of the good which was purchased
price_per_unit: i32
The price per unit of the good at the time of purchase
total: i32
The total amount of the order
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Order
impl UnwindSafe for Order
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more