Type Definition xpct::matchers::FailuresByField
source · pub type FailuresByField = Vec<(&'static str, Option<FormattedFailure>)>;
Expand description
A value that is returned by matchers that compose other matchers by struct field.
This pairs struct field names to their formatted failure output.
This type is used by the match_fields
and match_any_fields
matchers.