Struct spacetraders::shared::LocationMarketplaceData [−][src]
pub struct LocationMarketplaceData { pub name: String, pub symbol: String, pub location_type: String, pub x: i32, pub y: i32, pub marketplace: Vec<MarketplaceData>, pub anomaly: Option<String>, pub allows_construction: bool, pub structures: Vec<LocationMarketplaceStructure>, pub messages: Option<Vec<String>>, }
A representation of marketplace data for a location
Fields
name: String
The friendly name of the location
symbol: String
The system symbol of the location
location_type: String
The location type
x: i32
X coordinate of the location
y: i32
Y coordinate of the location
marketplace: Vec<MarketplaceData>
The marketplace data for the location
anomaly: Option<String>
The anomaly at a specific location
allows_construction: bool
Whether or not the location allows constructing new structures
structures: Vec<LocationMarketplaceStructure>
Any structures present at this location
messages: Option<Vec<String>>
Any messages
Trait Implementations
impl Clone for LocationMarketplaceData
[src]
impl Clone for LocationMarketplaceData
[src]fn clone(&self) -> LocationMarketplaceData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for LocationMarketplaceData
[src]
impl<'de> Deserialize<'de> for LocationMarketplaceData
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for LocationMarketplaceData
impl RefUnwindSafe for LocationMarketplaceData
impl Send for LocationMarketplaceData
impl Send for LocationMarketplaceData
impl Sync for LocationMarketplaceData
impl Sync for LocationMarketplaceData
impl Unpin for LocationMarketplaceData
impl Unpin for LocationMarketplaceData
impl UnwindSafe for LocationMarketplaceData
impl UnwindSafe for LocationMarketplaceData
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]