Enum MatchResult
Source pub enum MatchResult {
Exact,
WithOptionalMissing(Vec<&'static str>),
NoMatch {
missing_required: Vec<&'static str>,
unknown: Vec<String>,
},
}
Expand description
Result of matching input fields against a resolution.
All required fields present, all fields known
All required fields present, some optional fields missing
Fields
Required fields that are missing
Fields that are not known in this resolution
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.