#[non_exhaustive]pub enum PositionSystem {
Orbital {
orbital_position: u16,
west_east_flag: bool,
},
Sgp4 {
epoch_year: u8,
day_of_the_year: u16,
day_fraction: u32,
mean_motion_first_derivative: u32,
mean_motion_second_derivative: u32,
drag_term: u32,
inclination: u32,
right_ascension: u32,
eccentricity: u32,
argument_of_perigree: u32,
mean_anomaly: u32,
mean_motion: u32,
},
}Expand description
Position system selector for PositionV2.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Orbital
position_system == 0: orbital position (BCD 16-bit, west_east_flag).
Fields
Sgp4
position_system == 1: SGP4 TLE elements.
Fields
Trait Implementations§
Source§impl Clone for PositionSystem
impl Clone for PositionSystem
Source§fn clone(&self) -> PositionSystem
fn clone(&self) -> PositionSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PositionSystem
impl Debug for PositionSystem
impl Eq for PositionSystem
Source§impl PartialEq for PositionSystem
impl PartialEq for PositionSystem
Source§fn eq(&self, other: &PositionSystem) -> bool
fn eq(&self, other: &PositionSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PositionSystem
impl Serialize for PositionSystem
impl StructuralPartialEq for PositionSystem
Auto Trait Implementations§
impl Freeze for PositionSystem
impl RefUnwindSafe for PositionSystem
impl Send for PositionSystem
impl Sync for PositionSystem
impl Unpin for PositionSystem
impl UnsafeUnpin for PositionSystem
impl UnwindSafe for PositionSystem
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