pub struct ScanEventStar {
pub star_type: StarClass,
pub subclass: u8,
pub stellar_mass: f32,
pub radius: f32,
pub absolute_magnitude: f32,
pub age_my: u32,
pub surface_temperature: f32,
pub luminosity: StarLuminosity,
pub orbit_info: Option<OrbitInfo>,
pub rotation_period: f32,
pub axial_tilt: f32,
pub rings: Vec<ScanEventRing>,
}
Fields§
§star_type: StarClass
§subclass: u8
§stellar_mass: f32
§radius: f32
§absolute_magnitude: f32
§age_my: u32
§surface_temperature: f32
§luminosity: StarLuminosity
§orbit_info: Option<OrbitInfo>
Missing if it’s a single primary star instead of a binary or star system or more stars.
rotation_period: f32
§axial_tilt: f32
§rings: Vec<ScanEventRing>
Trait Implementations§
Source§impl Clone for ScanEventStar
impl Clone for ScanEventStar
Source§fn clone(&self) -> ScanEventStar
fn clone(&self) -> ScanEventStar
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 ScanEventStar
impl Debug for ScanEventStar
Source§impl<'de> Deserialize<'de> for ScanEventStar
impl<'de> Deserialize<'de> for ScanEventStar
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 ScanEventStar
impl PartialEq for ScanEventStar
Source§impl Serialize for ScanEventStar
impl Serialize for ScanEventStar
impl StructuralPartialEq for ScanEventStar
Auto Trait Implementations§
impl Freeze for ScanEventStar
impl RefUnwindSafe for ScanEventStar
impl Send for ScanEventStar
impl Sync for ScanEventStar
impl Unpin for ScanEventStar
impl UnwindSafe for ScanEventStar
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