Struct spacetraders::shared::Location [−][src]
pub struct Location { pub symbol: String, pub location_type: String, pub name: String, pub x: i32, pub y: i32, }
A representation of a location in a system
Fields
symbol: String
The system symbol for this location
location_type: String
The type of this location
name: String
The friendly name of this location
x: i32
X coordinate of the location
y: i32
Y coordinate of the location
Trait Implementations
impl<'de> Deserialize<'de> for Location
[src]
impl<'de> Deserialize<'de> for Location
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Location
impl RefUnwindSafe for Location
impl UnwindSafe for Location
impl UnwindSafe for Location
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]