pub struct SiphonYield {
pub symbol: TradeSymbol,
pub units: i32,
}Expand description
SiphonYield : A yield from the siphon operation.
Fields§
§symbol: TradeSymbol§units: i32The number of units siphoned that were placed into the ship’s cargo hold.
Implementations§
Source§impl SiphonYield
impl SiphonYield
Sourcepub fn new(symbol: TradeSymbol, units: i32) -> SiphonYield
pub fn new(symbol: TradeSymbol, units: i32) -> SiphonYield
A yield from the siphon operation.
Trait Implementations§
Source§impl Clone for SiphonYield
impl Clone for SiphonYield
Source§fn clone(&self) -> SiphonYield
fn clone(&self) -> SiphonYield
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 SiphonYield
impl Debug for SiphonYield
Source§impl Default for SiphonYield
impl Default for SiphonYield
Source§fn default() -> SiphonYield
fn default() -> SiphonYield
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SiphonYield
impl<'de> Deserialize<'de> for SiphonYield
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 SiphonYield
impl PartialEq for SiphonYield
Source§impl Serialize for SiphonYield
impl Serialize for SiphonYield
impl StructuralPartialEq for SiphonYield
Auto Trait Implementations§
impl Freeze for SiphonYield
impl RefUnwindSafe for SiphonYield
impl Send for SiphonYield
impl Sync for SiphonYield
impl Unpin for SiphonYield
impl UnwindSafe for SiphonYield
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