pub struct BuyExplorationDataEvent {
pub system: String,
pub cost: u64,
}
Expand description
Fired when the player buys exploration data for a system.
Fields§
§system: String
The name of the system the player has bought exploration data for.
cost: u64
The total amount of credits that the exploration data cost.
Trait Implementations§
Source§impl Clone for BuyExplorationDataEvent
impl Clone for BuyExplorationDataEvent
Source§fn clone(&self) -> BuyExplorationDataEvent
fn clone(&self) -> BuyExplorationDataEvent
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 Debug for BuyExplorationDataEvent
impl Debug for BuyExplorationDataEvent
Source§impl<'de> Deserialize<'de> for BuyExplorationDataEvent
impl<'de> Deserialize<'de> for BuyExplorationDataEvent
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 BuyExplorationDataEvent
impl PartialEq for BuyExplorationDataEvent
Source§impl Serialize for BuyExplorationDataEvent
impl Serialize for BuyExplorationDataEvent
impl StructuralPartialEq for BuyExplorationDataEvent
Auto Trait Implementations§
impl Freeze for BuyExplorationDataEvent
impl RefUnwindSafe for BuyExplorationDataEvent
impl Send for BuyExplorationDataEvent
impl Sync for BuyExplorationDataEvent
impl Unpin for BuyExplorationDataEvent
impl UnwindSafe for BuyExplorationDataEvent
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