pub struct ExtractionYield {
pub symbol: TradeSymbol,
pub units: i32,
}Expand description
Yields from the extract operation.
Fields§
§symbol: TradeSymbol§units: i32The number of units extracted that were placed into the ship’s cargo hold.
Implementations§
Source§impl ExtractionYield
impl ExtractionYield
Sourcepub fn new(symbol: TradeSymbol, units: i32) -> ExtractionYield
pub fn new(symbol: TradeSymbol, units: i32) -> ExtractionYield
Create value with optional fields set to None.
Trait Implementations§
Source§impl Clone for ExtractionYield
impl Clone for ExtractionYield
Source§fn clone(&self) -> ExtractionYield
fn clone(&self) -> ExtractionYield
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtractionYield
impl Debug for ExtractionYield
Source§impl<'de> Deserialize<'de> for ExtractionYield
impl<'de> Deserialize<'de> for ExtractionYield
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExtractionYield
impl PartialEq for ExtractionYield
Source§impl Serialize for ExtractionYield
impl Serialize for ExtractionYield
impl StructuralPartialEq for ExtractionYield
Auto Trait Implementations§
impl Freeze for ExtractionYield
impl RefUnwindSafe for ExtractionYield
impl Send for ExtractionYield
impl Sync for ExtractionYield
impl Unpin for ExtractionYield
impl UnwindSafe for ExtractionYield
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