Very basic rust question:
Let's say I'm modeling a configuration in Rust using a struct. What's the best way to apply "parse don't validate"?
For example (Syntax isn't correct, but this is the idea):
struct Config = {
tmp: Number between 0 and 1,
voy: Word that begins with "Hello",
duration: Duration value that is between 5 and 10
}