pub struct Extraction {
pub ship_symbol: String,
pub yield: ExtractionYield,
}Expand description
Extraction details.
Fields§
§ship_symbol: StringSymbol of the ship that executed the extraction.
yield: ExtractionYieldImplementations§
Source§impl Extraction
impl Extraction
Sourcepub fn new(ship_symbol: String, yield: ExtractionYield) -> Extraction
pub fn new(ship_symbol: String, yield: ExtractionYield) -> Extraction
Create value with optional fields set to None.
Trait Implementations§
Source§impl Clone for Extraction
impl Clone for Extraction
Source§fn clone(&self) -> Extraction
fn clone(&self) -> Extraction
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 Extraction
impl Debug for Extraction
Source§impl<'de> Deserialize<'de> for Extraction
impl<'de> Deserialize<'de> for Extraction
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 Extraction
impl PartialEq for Extraction
Source§impl Serialize for Extraction
impl Serialize for Extraction
impl StructuralPartialEq for Extraction
Auto Trait Implementations§
impl Freeze for Extraction
impl RefUnwindSafe for Extraction
impl Send for Extraction
impl Sync for Extraction
impl Unpin for Extraction
impl UnwindSafe for Extraction
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