pub enum ShipyardBuyEventOldShipAction {
Store(ShipyardBuyEventStoreCurrentShip),
Sell(ShipyardBuyEventSellCurrentShip),
}
Expand description
The action that was performed for the player’s current ship.
Variants§
Store(ShipyardBuyEventStoreCurrentShip)
Stored the player’s current ship at the current location.
Sell(ShipyardBuyEventSellCurrentShip)
Sold the player’s current ship.
Trait Implementations§
Source§impl Clone for ShipyardBuyEventOldShipAction
impl Clone for ShipyardBuyEventOldShipAction
Source§fn clone(&self) -> ShipyardBuyEventOldShipAction
fn clone(&self) -> ShipyardBuyEventOldShipAction
Returns a copy 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<'de> Deserialize<'de> for ShipyardBuyEventOldShipAction
impl<'de> Deserialize<'de> for ShipyardBuyEventOldShipAction
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 ShipyardBuyEventOldShipAction
impl PartialEq for ShipyardBuyEventOldShipAction
Source§fn eq(&self, other: &ShipyardBuyEventOldShipAction) -> bool
fn eq(&self, other: &ShipyardBuyEventOldShipAction) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ShipyardBuyEventOldShipAction
Auto Trait Implementations§
impl Freeze for ShipyardBuyEventOldShipAction
impl RefUnwindSafe for ShipyardBuyEventOldShipAction
impl Send for ShipyardBuyEventOldShipAction
impl Sync for ShipyardBuyEventOldShipAction
impl Unpin for ShipyardBuyEventOldShipAction
impl UnwindSafe for ShipyardBuyEventOldShipAction
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