1# Chapter 10½: inside budget/src 2 3One file, `lib.rs`, with its tests at the bottom. In order: `day` and `date` 4(a UTC day and how to write it); `Meter`, `Hold` and `Exhausted`, with 5`Meter::hold`, `settle`, `observe` and `used`; `Which` and `key`; `Visits`, 6which admits a visitor's request or not within `VISIT_WINDOW_MS`; and the 7messages, `Ask`, `Counted`, `Status` and `Told`. 8 9> **Try it.** `cargo test -p budget`. Read the test names: they are the 10> rules in plain words, from `a_hold_is_refused_once_the_day_cannot_cover_it` 11> to `nobody_is_remembered_past_their_minute`. 12 13| File | What | 14| --- | --- | 15| [lib.rs](lib.rs) | Meters, holds, visits, and the messages; tests at the end. | 16 17← Previous: [Chapter 10, budget/](../) · Up: [budget](../) · Next: [Chapter 11, card/](../../card/) →