pub struct ShipyardBuyEventStoreCurrentShip {
pub store_old_ship: ShipType,
pub store_ship_id: u64,
}
Expand description
Stored the player’s current ship at the current location.
Fields§
§store_old_ship: ShipType
The ship type of the stored ship.
store_ship_id: u64
The id of the stored ship.
Trait Implementations§
Source§impl Clone for ShipyardBuyEventStoreCurrentShip
impl Clone for ShipyardBuyEventStoreCurrentShip
Source§fn clone(&self) -> ShipyardBuyEventStoreCurrentShip
fn clone(&self) -> ShipyardBuyEventStoreCurrentShip
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 ShipyardBuyEventStoreCurrentShip
impl<'de> Deserialize<'de> for ShipyardBuyEventStoreCurrentShip
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 ShipyardBuyEventStoreCurrentShip
impl PartialEq for ShipyardBuyEventStoreCurrentShip
Source§fn eq(&self, other: &ShipyardBuyEventStoreCurrentShip) -> bool
fn eq(&self, other: &ShipyardBuyEventStoreCurrentShip) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ShipyardBuyEventStoreCurrentShip
Auto Trait Implementations§
impl Freeze for ShipyardBuyEventStoreCurrentShip
impl RefUnwindSafe for ShipyardBuyEventStoreCurrentShip
impl Send for ShipyardBuyEventStoreCurrentShip
impl Sync for ShipyardBuyEventStoreCurrentShip
impl Unpin for ShipyardBuyEventStoreCurrentShip
impl UnwindSafe for ShipyardBuyEventStoreCurrentShip
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