[][src]Enum nyx_space::io::formatter::StateHeader

pub enum StateHeader {
    AoL {
        frame: Option<String>,
    },
    AoP {
        frame: Option<String>,
    },
    apoapsis {
        frame: Option<String>,
    },
    EA {
        frame: Option<String>,
    },
    ECC {
        frame: Option<String>,
    },
    Epoch(EpochFormat),
    energy {
        frame: Option<String>,
    },
    evec {
        frame: Option<String>,
    },
    geodetic_height {
        frame: Option<String>,
    },
    geodetic_latitude {
        frame: Option<String>,
    },
    geodetic_longitude {
        frame: Option<String>,
    },
    hmag {
        frame: Option<String>,
    },
    hvec {
        frame: Option<String>,
    },
    HX {
        frame: Option<String>,
    },
    HY {
        frame: Option<String>,
    },
    HZ {
        frame: Option<String>,
    },
    INC {
        frame: Option<String>,
    },
    MA {
        frame: Option<String>,
    },
    periapsis {
        frame: Option<String>,
    },
    period {
        frame: Option<String>,
    },
    RAAN {
        frame: Option<String>,
    },
    radius {
        frame: Option<String>,
    },
    rmag {
        frame: Option<String>,
    },
    semi_parameter {
        frame: Option<String>,
    },
    SMA {
        frame: Option<String>,
    },
    TA {
        frame: Option<String>,
    },
    TLong {
        frame: Option<String>,
    },
    velocity {
        frame: Option<String>,
    },
    vmag {
        frame: Option<String>,
    },
    X {
        frame: Option<String>,
    },
    Y {
        frame: Option<String>,
    },
    Z {
        frame: Option<String>,
    },
    VX {
        frame: Option<String>,
    },
    VY {
        frame: Option<String>,
    },
    VZ {
        frame: Option<String>,
    },
}

Allowed headers, with an optional frame. TODO: Support units

Variants

AoL

Argument of Periapse (deg)

Fields of AoL

frame: Option<String>
AoP

Argument of Latitude (deg)

Fields of AoP

frame: Option<String>
apoapsis

Radius of apoapsis (km)

Fields of apoapsis

frame: Option<String>
EA

Eccentric anomaly (deg)

Fields of EA

frame: Option<String>
ECC

Eccentricity (no unit)

Fields of ECC

frame: Option<String>

The epoch in the specified format

energy

Specific energy

Fields of energy

frame: Option<String>
evec

Eccentricity vector (no unit), as [e_x,e_y,e_z]

Fields of evec

frame: Option<String>
geodetic_height

Geodetic height (km)

Fields of geodetic_height

frame: Option<String>
geodetic_latitude

Geodetic latitude (deg)

Fields of geodetic_latitude

frame: Option<String>
geodetic_longitude

Geodetic longitude (deg)

Fields of geodetic_longitude

frame: Option<String>
hmag

Orbital momentum

Fields of hmag

frame: Option<String>
hvec

Orbital momentum vector, as [e_x,e_y,e_z]

Fields of hvec

frame: Option<String>
HX

X component of the orbital momentum vector

Fields of HX

frame: Option<String>
HY

Y component of the orbital momentum vector

Fields of HY

frame: Option<String>
HZ

Z component of the orbital momentum vector

Fields of HZ

frame: Option<String>
INC

Inclination (deg)

Fields of INC

frame: Option<String>
MA

Mean anomaly (deg)

Fields of MA

frame: Option<String>
periapsis

Radius of periapse (km)

Fields of periapsis

frame: Option<String>
period

Orbital period (s)

Fields of period

frame: Option<String>
RAAN

Right ascension of the ascending node (deg)

Fields of RAAN

frame: Option<String>
radius

Radius vector (km), as [r_x,r_y,r_z]

Fields of radius

frame: Option<String>
rmag

Norm of the radius vector

Fields of rmag

frame: Option<String>
semi_parameter

Semi parameter (km)

Fields of semi_parameter

frame: Option<String>
SMA

Semi major axis (km)

Fields of SMA

frame: Option<String>
TA

True anomaly

Fields of TA

frame: Option<String>
TLong

True longitude

Fields of TLong

frame: Option<String>
velocity

Velocity vector (km/s), as [v_x,v_y,v_z]

Fields of velocity

frame: Option<String>
vmag

Norm of the velocity vector (km/s)

Fields of vmag

frame: Option<String>
X

X component of the radius (km)

Fields of X

frame: Option<String>
Y

Y component of the radius (km)

Fields of Y

frame: Option<String>
Z

Z component of the radius (km)

Fields of Z

frame: Option<String>
VX

X component of the velocity (km/s)

Fields of VX

frame: Option<String>
VY

Y component of the velocity (km/s)

Fields of VY

frame: Option<String>
VZ

Z component of the velocity (km/s)

Fields of VZ

frame: Option<String>

Trait Implementations

impl Clone for StateHeader[src]

impl Debug for StateHeader[src]

impl PartialEq<StateHeader> for StateHeader[src]

impl Serialize for StateHeader[src]

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
    S: Serializer
[src]

NOTE: This is not part of unit testing because there is no deseralization of State (yet)

impl StructuralPartialEq for StateHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,