Skip to main content

PredictionRow

Struct PredictionRow 

Source
pub struct PredictionRow {
Show 34 fields pub id: String, pub title: String, pub design: String, pub source: String, pub motor: String, pub motor_source: String, pub thrust_file: String, pub burn_time_s: Option<f64>, pub total_impulse_ns: f64, pub mass_source: String, pub mass_without_motor_kg: f64, pub liftoff_mass_kg: f64, pub latitude_deg: f64, pub longitude_deg: f64, pub elevation_m: f64, pub rail_length_m: f64, pub rail_inclination_deg: f64, pub rail_heading_deg: f64, pub weather_time_utc: String, pub reference_log: String, pub reference_log_sha256: String, pub reference_rule: String, pub altimeter: String, pub altimeter_evidence: String, pub all_inputs_traced: bool, pub untraced: Vec<String>, pub predicted_apogee_m: f64, pub predicted_height_apogee_m: f64, pub predicted_time_to_apogee_s: f64, pub hpr_max_mach: f64, pub catalog_curve: Option<CatalogCurveRow>, pub files: Vec<FileRead>, pub inputs_sha256: String, pub note: String,
}
Expand description

One flight’s prediction, as the report keeps it. It has no field for a measured apogee or an error, on purpose.

Fields§

§id: String

The flight’s public id.

§title: String

The rocket, team and event.

§design: String

The design flown.

§source: String

Where the site, date, rail and geometry come from.

§motor: String

The motor, as its record names it.

§motor_source: String

Where the thrust file and its burn time come from.

§thrust_file: String

The thrust file flown, from the repository root.

§burn_time_s: Option<f64>

The burn time the example cuts it at, s.

§total_impulse_ns: f64

The impulse flown, N s.

§mass_source: String

Where the mass comes from.

§mass_without_motor_kg: f64

The mass the record gives without the motor, kg.

§liftoff_mass_kg: f64

The mass flown at liftoff, kg: the above and the grain.

§latitude_deg: f64

The site’s latitude, degrees north.

§longitude_deg: f64

The site’s longitude, degrees east.

§elevation_m: f64

The site’s elevation above sea level, m.

§rail_length_m: f64

The rail’s length, m.

§rail_inclination_deg: f64

The rail’s inclination from the horizontal, degrees.

§rail_heading_deg: f64

The rail’s heading from north, degrees.

§weather_time_utc: String

The hour the weather is read at.

§reference_log: String

The log the rule is applied to, from the repository root.

§reference_log_sha256: String

That log’s SHA-256: its bytes hashed, never parsed.

§reference_rule: String

The apogee rule.

§altimeter: String

What the log’s height is taken to be.

§altimeter_evidence: String

Where that comes from.

§all_inputs_traced: bool

Whether every input is traced to the record.

§untraced: Vec<String>

What isn’t, in words.

§predicted_apogee_m: f64

The predicted apogee as the log’s altimeter would read it, m: the counted prediction.

§predicted_height_apogee_m: f64

The predicted apogee as a height above the pad, m.

§predicted_time_to_apogee_s: f64

The predicted time from ignition to apogee, s.

§hpr_max_mach: f64

The flight’s largest Mach number.

§catalog_curve: Option<CatalogCurveRow>

The catalog curve’s prediction, shown beside and never counted.

§files: Vec<FileRead>

Every file read, with its SHA-256; the log’s is its bytes’ alone.

§inputs_sha256: String

The SHA-256 of the flight’s entry in NEW_FLIGHTS.

§note: String

What else a reader should know.

Trait Implementations§

Source§

impl Clone for PredictionRow

Source§

fn clone(&self) -> PredictionRow

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PredictionRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PredictionRow

Source§

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 PartialEq for PredictionRow

Source§

fn eq(&self, other: &PredictionRow) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PredictionRow

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PredictionRow

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.