#[non_exhaustive]pub struct StoredBranch {
pub name: String,
pub types: Vec<String>,
pub rows: Vec<Vec<Option<f64>>>,
pub events: Vec<StoredEvent>,
}Expand description
One stage’s stored 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.name: Stringname: the stage’s name.
types: Vec<String>types: each column’s name as OpenRocket shows it, such as Time or Altitude.
rows: Vec<Vec<Option<f64>>>The <datapoint> rows, each a value per column, as written: SI, angles in radians, latitude
and longitude in degrees. None where the file says NaN, a quantity OpenRocket did not
compute at that step.
events: Vec<StoredEvent>The <event>s, in file order.
Implementations§
Trait Implementations§
Source§impl Clone for StoredBranch
impl Clone for StoredBranch
Source§fn clone(&self) -> StoredBranch
fn clone(&self) -> StoredBranch
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 StoredBranch
impl Debug for StoredBranch
Source§impl Default for StoredBranch
impl Default for StoredBranch
Source§fn default() -> StoredBranch
fn default() -> StoredBranch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoredBranch
impl<'de> Deserialize<'de> for StoredBranch
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 StoredBranch
impl JsonSchema for StoredBranch
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 StoredBranch
impl PartialEq for StoredBranch
Source§fn eq(&self, other: &StoredBranch) -> bool
fn eq(&self, other: &StoredBranch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoredBranch
impl Serialize for StoredBranch
impl StructuralPartialEq for StoredBranch
Auto Trait Implementations§
impl Freeze for StoredBranch
impl RefUnwindSafe for StoredBranch
impl Send for StoredBranch
impl Sync for StoredBranch
impl Unpin for StoredBranch
impl UnsafeUnpin for StoredBranch
impl UnwindSafe for StoredBranch
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