#[non_exhaustive]pub struct StoredResults {
pub max_altitude_m: Option<f64>,
pub max_speed_m_s: Option<f64>,
pub max_acceleration_m_s2: Option<f64>,
pub max_mach: Option<f64>,
pub time_to_apogee_s: Option<f64>,
pub flight_time_s: Option<f64>,
pub ground_hit_speed_m_s: Option<f64>,
pub rod_exit_speed_m_s: Option<f64>,
pub deployment_speed_m_s: Option<f64>,
pub optimum_delay_s: Option<f64>,
pub branches: Vec<StoredBranch>,
pub warnings: Vec<String>,
}Expand description
What a stored simulation gave: its summary and its time series.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_altitude_m: Option<f64>maxaltitude, m.
max_speed_m_s: Option<f64>maxvelocity, m/s.
max_acceleration_m_s2: Option<f64>maxacceleration, m/s².
max_mach: Option<f64>maxmach.
time_to_apogee_s: Option<f64>timetoapogee, s.
flight_time_s: Option<f64>flighttime, s.
ground_hit_speed_m_s: Option<f64>groundhitvelocity, m/s.
rod_exit_speed_m_s: Option<f64>launchrodvelocity: the speed leaving the rod, m/s.
deployment_speed_m_s: Option<f64>deploymentvelocity: the speed at the first deployment, m/s.
optimum_delay_s: Option<f64>optimumdelay: the ejection delay that would have fired at apogee, s.
branches: Vec<StoredBranch>The time series, one per stage, in file order.
warnings: Vec<String>The <warning>s OpenRocket stored with the results, each as its text.
Trait Implementations§
Source§impl Clone for StoredResults
impl Clone for StoredResults
Source§fn clone(&self) -> StoredResults
fn clone(&self) -> StoredResults
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 StoredResults
impl Debug for StoredResults
Source§impl Default for StoredResults
impl Default for StoredResults
Source§fn default() -> StoredResults
fn default() -> StoredResults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoredResults
impl<'de> Deserialize<'de> for StoredResults
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 JsonSchema for StoredResults
impl JsonSchema for StoredResults
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for StoredResults
impl PartialEq for StoredResults
Source§fn eq(&self, other: &StoredResults) -> bool
fn eq(&self, other: &StoredResults) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoredResults
impl Serialize for StoredResults
impl StructuralPartialEq for StoredResults
Auto Trait Implementations§
impl Freeze for StoredResults
impl RefUnwindSafe for StoredResults
impl Send for StoredResults
impl Sync for StoredResults
impl Unpin for StoredResults
impl UnsafeUnpin for StoredResults
impl UnwindSafe for StoredResults
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