Struct nyx_space::io::scenario::StateSerde
source · pub struct StateSerde {Show 18 fields
pub frame: Option<String>,
pub epoch: String,
pub x: Option<f64>,
pub y: Option<f64>,
pub z: Option<f64>,
pub vx: Option<f64>,
pub vy: Option<f64>,
pub vz: Option<f64>,
pub position: Option<Vec<String>>,
pub velocity: Option<Vec<String>>,
pub sma: Option<f64>,
pub ecc: Option<f64>,
pub inc: Option<f64>,
pub raan: Option<f64>,
pub aop: Option<f64>,
pub ta: Option<f64>,
pub unit_position: Option<String>,
pub unit_velocity: Option<String>,
}
Fields§
§frame: Option<String>
§epoch: String
§x: Option<f64>
§y: Option<f64>
§z: Option<f64>
§vx: Option<f64>
§vy: Option<f64>
§vz: Option<f64>
§position: Option<Vec<String>>
§velocity: Option<Vec<String>>
§sma: Option<f64>
§ecc: Option<f64>
§inc: Option<f64>
§raan: Option<f64>
§aop: Option<f64>
§ta: Option<f64>
§unit_position: Option<String>
§unit_velocity: Option<String>
Implementations§
source§impl StateSerde
impl StateSerde
Trait Implementations§
source§impl<'de> Deserialize<'de> for StateSerde
impl<'de> Deserialize<'de> for StateSerde
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
Auto Trait Implementations§
impl RefUnwindSafe for StateSerde
impl Send for StateSerde
impl Sync for StateSerde
impl Unpin for StateSerde
impl UnwindSafe for StateSerde
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.