#[non_exhaustive]pub struct Played {
pub name: String,
pub label: Option<String>,
pub seconds_per_try: f64,
pub summary: Vec<String>,
pub was: Option<String>,
pub outcomes: BTreeMap<String, u32>,
pub turns: Option<Spread>,
pub measures: BTreeMap<String, Spread>,
pub tries: Vec<TryKept>,
}Expand description
How one entrant’s tries went, besides the report: its label, its speed, its summary and the last run’s headline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringIts name.
label: Option<String>Its label in the game’s plan (a mode), if any.
seconds_per_try: f64The wall time of a try, on average, in seconds: the one number that changes with the machine and the thread count.
summary: Vec<String>The plan’s summary items over its tries, in order: won 83/100.
was: Option<String>Its headline number in the last run, if it played there:
was 47/100 succeed from its first rate check, else its first
summary item, was won 63/100.
outcomes: BTreeMap<String, u32>How many of its tries ended each way, by the outcome’s name (its
Debug up to its fields: Won for Won { turn: 12 }), and
UNFINISHED for those the turn limit stopped.
turns: Option<Spread>How many turns its tries took.
measures: BTreeMap<String, Spread>The game’s measures over its tries, by name.
tries: Vec<TryKept>Each try’s commands and record, in seed order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Played
impl<'de> Deserialize<'de> for Played
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 JsonSchema for Played
impl JsonSchema for Played
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more