pub struct ScanEvent {
pub scan_type: ScanEventScanType,
pub body_name: String,
pub body_id: u8,
pub parents: Vec<ScanEventParent>,
pub star_system: String,
pub system_address: u64,
pub distance_from_arrival: LocalDistance,
pub was_discovered: bool,
pub was_mapped: bool,
pub kind: ScanEventKind,
}
Fields§
§scan_type: ScanEventScanType
§body_name: String
§body_id: u8
§parents: Vec<ScanEventParent>
§star_system: String
§system_address: u64
§distance_from_arrival: LocalDistance
§was_discovered: bool
§was_mapped: bool
§kind: ScanEventKind
None value should be considered a belt cluster
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScanEvent
impl<'de> Deserialize<'de> for ScanEvent
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
Source§impl TryFrom<&ScanEvent> for PlanetState
impl TryFrom<&ScanEvent> for PlanetState
impl StructuralPartialEq for ScanEvent
Auto Trait Implementations§
impl Freeze for ScanEvent
impl RefUnwindSafe for ScanEvent
impl Send for ScanEvent
impl Sync for ScanEvent
impl Unpin for ScanEvent
impl UnwindSafe for ScanEvent
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