PauseSource#
Records who wrote a pause. It's the type of Pause::by, which is Option<PauseSource> and defaults to None.
Declaration#
With the serde feature, PauseSource implements Serialize and Deserialize. Variants serialize in lowercase: PauseSource::Leveling is "leveling".
Variants#
| Variant | Description |
|---|---|
Leveling |
The pause was written by resource leveling. It's the only value. |
The value doesn't change how a pause is treated: every pause counts as leveling-owned. See Pause.
Example#
use ;
Related#
Pause- the pause that records its sourceProject::level- writes leveling pauses- Leveling Resources - how leveling marks the pauses it writes
- Serialize results to JSON - the serialized form of pauses and their source