diff --git a/crates/lox_core/src/odm/ocm.rs b/crates/lox_core/src/odm/ocm.rs index 6d72be4b..6ab71a7f 100644 --- a/crates/lox_core/src/odm/ocm.rs +++ b/crates/lox_core/src/odm/ocm.rs @@ -8,7 +8,7 @@ pub struct OcmType { #[serde(rename = "header")] pub header: common::OdmHeader, #[serde(rename = "body")] - pub body: common::OcmBody, + pub body: OcmBody, #[serde(rename = "@id")] pub id: String, #[serde(rename = "@version")] @@ -19,16 +19,16 @@ pub struct OcmType { #[serde(default)] pub struct OcmBody { #[serde(rename = "segment")] - pub segment: common::OcmSegment, + pub segment: OcmSegment, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] #[serde(default)] pub struct OcmSegment { #[serde(rename = "metadata")] - pub metadata: common::OcmMetadata, + pub metadata: OcmMetadata, #[serde(rename = "data")] - pub data: common::OcmData, + pub data: OcmData, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -136,17 +136,17 @@ pub struct OcmMetadata { #[serde(default)] pub struct OcmData { #[serde(rename = "traj")] - pub traj_list: Vec, + pub traj_list: Vec, #[serde(rename = "phys")] - pub phys: Option, + pub phys: Option, #[serde(rename = "cov")] - pub cov_list: Vec, + pub cov_list: Vec, #[serde(rename = "man")] - pub man_list: Vec, + pub man_list: Vec, #[serde(rename = "pert")] - pub pert: Option, + pub pert: Option, #[serde(rename = "od")] - pub od: Option, + pub od: Option, #[serde(rename = "user")] pub user: Option, } diff --git a/crates/lox_core/src/odm/oem.rs b/crates/lox_core/src/odm/oem.rs index cee5a5dc..dc0aa964 100644 --- a/crates/lox_core/src/odm/oem.rs +++ b/crates/lox_core/src/odm/oem.rs @@ -8,7 +8,7 @@ pub struct OemType { #[serde(rename = "header")] pub header: common::OdmHeader, #[serde(rename = "body")] - pub body: common::OemBody, + pub body: OemBody, #[serde(rename = "@id")] pub id: String, #[serde(rename = "@version")] @@ -19,16 +19,16 @@ pub struct OemType { #[serde(default)] pub struct OemBody { #[serde(rename = "segment")] - pub segment_list: Vec, + pub segment_list: Vec, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] #[serde(default)] pub struct OemSegment { #[serde(rename = "metadata")] - pub metadata: common::OemMetadata, + pub metadata: OemMetadata, #[serde(rename = "data")] - pub data: common::OemData, + pub data: OemData, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] diff --git a/crates/lox_core/src/odm/omm.rs b/crates/lox_core/src/odm/omm.rs index 3a4444f6..efb44f12 100644 --- a/crates/lox_core/src/odm/omm.rs +++ b/crates/lox_core/src/odm/omm.rs @@ -40,7 +40,7 @@ pub struct OmmType { #[serde(rename = "header")] pub header: common::OdmHeader, #[serde(rename = "body")] - pub body: common::OmmBody, + pub body: OmmBody, #[serde(rename = "@id")] pub id: String, #[serde(rename = "@version")] @@ -51,16 +51,16 @@ pub struct OmmType { #[serde(default)] pub struct OmmBody { #[serde(rename = "segment")] - pub segment: common::OmmSegment, + pub segment: OmmSegment, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] #[serde(default)] pub struct OmmSegment { #[serde(rename = "metadata")] - pub metadata: common::OmmMetadata, + pub metadata: OmmMetadata, #[serde(rename = "data")] - pub data: common::OmmData, + pub data: OmmData, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -90,11 +90,11 @@ pub struct OmmData { #[serde(rename = "COMMENT")] pub comment_list: Vec, #[serde(rename = "meanElements")] - pub mean_elements: common::MeanElementsType, + pub mean_elements: MeanElementsType, #[serde(rename = "spacecraftParameters")] pub spacecraft_parameters: Option, #[serde(rename = "tleParameters")] - pub tle_parameters: Option, + pub tle_parameters: Option, #[serde(rename = "covarianceMatrix")] pub covariance_matrix: Option, #[serde(rename = "userDefinedParameters")] @@ -134,11 +134,11 @@ pub struct TleParametersType { #[serde(rename = "NORAD_CAT_ID")] pub norad_cat_id: Option, #[serde(rename = "ELEMENT_SET_NO")] - pub element_set_no: Option, + pub element_set_no: Option, #[serde(rename = "REV_AT_EPOCH")] pub rev_at_epoch: Option, #[serde(rename = "MEAN_MOTION_DOT")] - pub mean_motion_dot: common::DRevType, + pub mean_motion_dot: DRevType, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -147,7 +147,7 @@ pub struct BStarType { #[serde(rename = "$text")] pub base: f64, #[serde(rename = "@units")] - pub units: Option, + pub units: Option, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -156,7 +156,7 @@ pub struct BTermType { #[serde(rename = "$text")] pub base: f64, #[serde(rename = "@units")] - pub units: Option, + pub units: Option, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -165,7 +165,7 @@ pub struct AgomType { #[serde(rename = "$text")] pub base: f64, #[serde(rename = "@units")] - pub units: Option, + pub units: Option, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -174,7 +174,7 @@ pub struct RevType { #[serde(rename = "$text")] pub base: f64, #[serde(rename = "@units")] - pub units: Option, + pub units: Option, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -183,7 +183,7 @@ pub struct DRevType { #[serde(rename = "$text")] pub base: f64, #[serde(rename = "@units")] - pub units: Option, + pub units: Option, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -192,5 +192,5 @@ pub struct DdRevType { #[serde(rename = "$text")] pub base: f64, #[serde(rename = "@units")] - pub units: Option, + pub units: Option, } diff --git a/crates/lox_core/src/odm/opm.rs b/crates/lox_core/src/odm/opm.rs index 140e47f3..2abacc53 100644 --- a/crates/lox_core/src/odm/opm.rs +++ b/crates/lox_core/src/odm/opm.rs @@ -8,7 +8,7 @@ pub struct OpmType { #[serde(rename = "header")] pub header: common::OdmHeader, #[serde(rename = "body")] - pub body: common::OpmBody, + pub body: OpmBody, #[serde(rename = "@id")] pub id: String, #[serde(rename = "@version")] @@ -19,16 +19,16 @@ pub struct OpmType { #[serde(default)] pub struct OpmBody { #[serde(rename = "segment")] - pub segment: common::OpmSegment, + pub segment: OpmSegment, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] #[serde(default)] pub struct OpmSegment { #[serde(rename = "metadata")] - pub metadata: common::OpmMetadata, + pub metadata: OpmMetadata, #[serde(rename = "data")] - pub data: common::OpmData, + pub data: OpmData, } #[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)] @@ -58,13 +58,13 @@ pub struct OpmData { #[serde(rename = "stateVector")] pub state_vector: common::StateVectorType, #[serde(rename = "keplerianElements")] - pub keplerian_elements: Option, + pub keplerian_elements: Option, #[serde(rename = "spacecraftParameters")] pub spacecraft_parameters: Option, #[serde(rename = "covarianceMatrix")] pub covariance_matrix: Option, #[serde(rename = "maneuverParameters")] - pub maneuver_parameters_list: Vec, + pub maneuver_parameters_list: Vec, #[serde(rename = "userDefinedParameters")] pub user_defined_parameters: Option, }