Struct spacetraders::shared::Cargo [−][src]
Expand description
A representation of cargo within a ship
Fields
good: Good
The good in the cargo
quantity: i32
The quantity of the good
total_volume: i32
The total volume consumed by the good
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 Cargo
impl UnwindSafe for Cargo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more