pub struct MarketEvent {
pub market_id: u64,
pub station_name: String,
pub station_type: StationType,
pub star_system: String,
}
Expand description
Market data is written to a separate file called market.json
.
Fields§
§market_id: u64
The market the update is related to.
station_name: String
The name of the station updates are available for.
station_type: StationType
The type of station.
star_system: String
The name of the star system the market is located in.
Trait Implementations§
Source§impl Clone for MarketEvent
impl Clone for MarketEvent
Source§fn clone(&self) -> MarketEvent
fn clone(&self) -> MarketEvent
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 MarketEvent
impl Debug for MarketEvent
Source§impl<'de> Deserialize<'de> for MarketEvent
impl<'de> Deserialize<'de> for MarketEvent
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 MarketEvent
impl PartialEq for MarketEvent
Source§impl Serialize for MarketEvent
impl Serialize for MarketEvent
impl StructuralPartialEq for MarketEvent
Auto Trait Implementations§
impl Freeze for MarketEvent
impl RefUnwindSafe for MarketEvent
impl Send for MarketEvent
impl Sync for MarketEvent
impl Unpin for MarketEvent
impl UnwindSafe for MarketEvent
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