Skip to main content

Module model

Module model 

Source
Expand description

Flag / Rule / FlagSet types.

Structs§

Flag
A single flag.
FlagSet
A collection of flags loaded from JSON. Construct via FlagSet::from_json or build in code for tests.
RolloutEntry
One slot in a Rollout outcome.
Rule
A flag’s targeting rule. Evaluated in declared order; first match wins.

Enums§

Outcome
What a matching rule produces.

Type Aliases§

Variant
One of a flag’s named outcomes ("on", "off", "experiment-a", …).