pub struct PredictionsReport {
pub generator: String,
pub traced_rule: String,
pub weather_conversion: WeatherConversion,
pub flights: Vec<PredictionRow>,
pub design_file_traced_rule: String,
pub design_file_flights: Vec<DesignFilePredictionRow>,
}Expand description
The predictions.
Fields§
§generator: StringWhat wrote it.
traced_rule: StringWhat “traced” means.
weather_conversion: WeatherConversionThe EuRoC 2022 weather file’s conversion.
flights: Vec<PredictionRow>The flights, in NEW_FLIGHTS’ order.
design_file_traced_rule: StringWhat “traced” means for a flight read from a design file.
design_file_flights: Vec<DesignFilePredictionRow>The flights read from a design file, in DESIGN_FILE_FLIGHTS’ order.
Implementations§
Source§impl PredictionsReport
impl PredictionsReport
Sourcepub fn check_consistent(&self, markdown: &str) -> Result<(), String>
pub fn check_consistent(&self, markdown: &str) -> Result<(), String>
Whether the report holds together without the files it was flown from, as CI checks it:
every prediction is a positive, finite height, each tag is its list’s, each apogee is the
one first merged (MERGED) to the digit the page prints, and the page is this report’s
rendering.
§Errors
The first thing that doesn’t hold, in words.
Sourcepub fn reproduces(&self, other: &PredictionsReport) -> Result<(), String>
pub fn reproduces(&self, other: &PredictionsReport) -> Result<(), String>
Whether other, flown now, is this committed report: the same words, files and digests,
and the same numbers but for the last digits platforms round differently.
§Errors
The first difference, in words.
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
The predictions as a page.
Trait Implementations§
Source§impl Clone for PredictionsReport
impl Clone for PredictionsReport
Source§fn clone(&self) -> PredictionsReport
fn clone(&self) -> PredictionsReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PredictionsReport
impl Debug for PredictionsReport
Source§impl<'de> Deserialize<'de> for PredictionsReport
impl<'de> Deserialize<'de> for PredictionsReport
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>,
Source§impl PartialEq for PredictionsReport
impl PartialEq for PredictionsReport
Source§fn eq(&self, other: &PredictionsReport) -> bool
fn eq(&self, other: &PredictionsReport) -> bool
self and other values to be equal, and is used by ==.