Struct spacetraders::shared::Location [−][src]
pub struct Location { pub symbol: String, pub location_type: String, pub name: String, pub x: i32, pub y: i32, }
Expand description
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Location
impl UnwindSafe for Location
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more