pub struct Summary {
pub group: Group,
pub reference: String,
pub cases: usize,
pub not_flown: usize,
pub regimes: BTreeMap<Regime, usize>,
pub rows: usize,
pub standings: BTreeMap<Standing, usize>,
pub bars: Vec<BarCount>,
pub apogee_percent: Option<Spread>,
}Expand description
What one group adds up to.
Fields§
§group: GroupThe group.
reference: StringWhat it was compared with.
cases: usizeIts cases compared, or refused as known gaps: flights, or descents.
not_flown: usizeIts cases the report lists as not flown.
regimes: BTreeMap<Regime, usize>Its cases by speed, not-flown ones left out.
rows: usizeIts rows.
standings: BTreeMap<Standing, usize>Its rows by standing.
bars: Vec<BarCount>Each metric judged by a bar, in the census’s order.
apogee_percent: Option<Spread>The apogee differences, per cent: the harness’s relative to RocketPy’s, OpenRocket’s and the
logs’ as their reports give them. None for descents.
Implementations§
Source§impl Summary
impl Summary
Sourcepub fn regimes_in_words(&self) -> String
pub fn regimes_in_words(&self) -> String
Its cases by speed, in words: “7 subsonic, 1 transonic”. Descents are left out: their noun already says it.
Sourcepub fn population(&self) -> String
pub fn population(&self) -> String
Its population in words: “33 flights (32 subsonic, 1 transonic); 24 more not flown”.
Sourcepub fn result(&self) -> String
pub fn result(&self) -> String
Its result in words: the counts against its gate, target or bars, and its apogees.
Sourcepub fn headline(&self) -> String
pub fn headline(&self) -> String
Its headline: what was flown, against what and of which kind, how many and how fast, and the result (Loft lesson L86).