pub enum Rule {
EqualTo,
AtLeast,
AtMost,
}
Expand description
How we decide if something is “correct”.
Checks if a value matches a target, according to the rule.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.