pub struct FSSDiscoveryScan {
pub progress: f32,
pub body_count: u8,
pub non_body_count: u8,
pub system_name: String,
pub system_address: u64,
}
Expand description
Fired when discovering a body in a given system, either through proximity or through the FSS.
Fields§
§progress: f32
Value between 0-1 to indicate percentage of system scanned
body_count: u8
The total number of bodies the player has scanned in the current system.
non_body_count: u8
The total number of non-body signals the player has scanned in the current system.
system_name: String
The name of the current system.
system_address: u64
The address of the current system.
Trait Implementations§
Source§impl Clone for FSSDiscoveryScan
impl Clone for FSSDiscoveryScan
Source§fn clone(&self) -> FSSDiscoveryScan
fn clone(&self) -> FSSDiscoveryScan
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FSSDiscoveryScan
impl Debug for FSSDiscoveryScan
Source§impl<'de> Deserialize<'de> for FSSDiscoveryScan
impl<'de> Deserialize<'de> for FSSDiscoveryScan
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 PartialEq for FSSDiscoveryScan
impl PartialEq for FSSDiscoveryScan
Source§impl Serialize for FSSDiscoveryScan
impl Serialize for FSSDiscoveryScan
impl StructuralPartialEq for FSSDiscoveryScan
Auto Trait Implementations§
impl Freeze for FSSDiscoveryScan
impl RefUnwindSafe for FSSDiscoveryScan
impl Send for FSSDiscoveryScan
impl Sync for FSSDiscoveryScan
impl Unpin for FSSDiscoveryScan
impl UnwindSafe for FSSDiscoveryScan
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