pub enum Field {
Keys,
Hydrated,
Fused,
Similar,
SimilarHydrated,
}Expand description
WHICH of an election’s QUERY FIELDS a name is being asked for — a closed vocabulary of five, one per road an election can mount and no more.
Variants§
Keys
<index>By<Field>Keys — one typed store, a QUESTION, ranked addresses.
Hydrated
<index>By<Field> — the same question, HYDRATED: the upstream’s whole entities.
Fused
<index>FusedBy<Field>Keys — every store the field is written to, one leaderboard.
Similar
<index>SimilarBy<Field>Keys — one typed store, an EXAMPLE KEY, ranked addresses without the
example.
SimilarHydrated
<index>SimilarBy<Field> — the same example, HYDRATED: the neighbours’ whole entities.
Implementations§
Source§impl Field
impl Field
Sourcepub const ALL: [Self; 5]
pub const ALL: [Self; 5]
Every road, in the order a refusal lists them — which is also the order the near-miss line measures a typo against, and the TIER ORDER of each pair: the keys rung first, its hydrated twin under it.
RenamePiece::ALL’s twin one axis over, and the same law: the vocabulary and the reader are
ONE list, so a word offered by a suggestion is a word the next compile reads.
Sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
The word a declaration writes to name this road’s query field.