pub struct StationInfo {
pub market_id: u64,
pub station_faction: StationInfoFaction,
pub station_government: Government,
pub station_government_localized: Option<String>,
pub station_services: Vec<StationService>,
pub station_economy: Economy,
pub station_economy_localized: Option<String>,
pub station_economies: Vec<StationInfoEconomy>,
}
Expand description
Information about the station or ‘market’. This includes information about locations where the player can dock and can access various services. Note however that while the game uses the term ‘station’ in the fields, the actual location doesn’t always have to be an actual space station and this model can also be set at settlements and fleet carriers.
Fields§
§market_id: u64
The id of the market. This is what the game uses behind the scenes instead of the actual location and this is what all things like commodities and missions are linked to.
station_faction: StationInfoFaction
The primary faction of the market.
station_government: Government
The primary government for this market. This is determined by the primary faction.
station_government_localized: Option<String>
The localized name of the primary government.
station_services: Vec<StationService>
A list of services which are available at the market.
station_economy: Economy
The primary economy which the market is part of.
station_economy_localized: Option<String>
The localized name of the economy the market is part of.
station_economies: Vec<StationInfoEconomy>
Even through there is a primary economy, some markets might be part of multiple economies.
Trait Implementations§
Source§impl Clone for StationInfo
impl Clone for StationInfo
Source§fn clone(&self) -> StationInfo
fn clone(&self) -> StationInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more