pub struct ScanBaryCentreEvent {
pub star_system: String,
pub system_address: u64,
pub body_id: u8,
pub semi_major_axis: f32,
pub eccentricity: f32,
pub orbital_inclination: f32,
pub periapsis: f32,
pub orbital_period: f32,
pub ascending_node: f32,
pub mean_anomaly: f32,
}
Fields§
§star_system: String
§system_address: u64
§body_id: u8
§semi_major_axis: f32
§eccentricity: f32
§orbital_inclination: f32
§periapsis: f32
§orbital_period: f32
§ascending_node: f32
§mean_anomaly: f32
Trait Implementations§
Source§impl Clone for ScanBaryCentreEvent
impl Clone for ScanBaryCentreEvent
Source§fn clone(&self) -> ScanBaryCentreEvent
fn clone(&self) -> ScanBaryCentreEvent
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 ScanBaryCentreEvent
impl Debug for ScanBaryCentreEvent
Source§impl<'de> Deserialize<'de> for ScanBaryCentreEvent
impl<'de> Deserialize<'de> for ScanBaryCentreEvent
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 ScanBaryCentreEvent
impl PartialEq for ScanBaryCentreEvent
Source§impl Serialize for ScanBaryCentreEvent
impl Serialize for ScanBaryCentreEvent
impl StructuralPartialEq for ScanBaryCentreEvent
Auto Trait Implementations§
impl Freeze for ScanBaryCentreEvent
impl RefUnwindSafe for ScanBaryCentreEvent
impl Send for ScanBaryCentreEvent
impl Sync for ScanBaryCentreEvent
impl Unpin for ScanBaryCentreEvent
impl UnwindSafe for ScanBaryCentreEvent
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