pub struct OrganicLocation {
pub system_address: u64,
pub body_id: u8,
pub body_name: String,
pub species: Species,
pub variant: Option<Variant>,
pub coordinates: (f32, f32),
}
Expand description
A confirmed location of a specific organic on a planet.
Fields§
§system_address: u64
The system address of the body the organic has been scanned.
body_id: u8
The body id of the body where the organic has been scanned.
body_name: String
The name of the body the organic is located at.
species: Species
The specific species that has been scanned.
variant: Option<Variant>
Specific species variant, if any.
coordinates: (f32, f32)
The coordinates of the player when the organic was scanned.
Trait Implementations§
Source§impl Debug for OrganicLocation
impl Debug for OrganicLocation
Source§impl<'de> Deserialize<'de> for OrganicLocation
impl<'de> Deserialize<'de> for OrganicLocation
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
Auto Trait Implementations§
impl Freeze for OrganicLocation
impl RefUnwindSafe for OrganicLocation
impl Send for OrganicLocation
impl Sync for OrganicLocation
impl Unpin for OrganicLocation
impl UnwindSafe for OrganicLocation
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