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