(&self)
| 18 | |
| 19 | impl SupportedCondition { |
| 20 | fn field_names(&self) -> HashSet<&str> { |
| 21 | match self { |
| 22 | Self::And(s) => s.iter().map(|x| x.as_ref()).collect(), |
| 23 | Self::Or(s) => s.iter().map(|x| x.as_ref()).collect(), |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /// Returns a tuple that can be used to compare instances of |
| 28 | /// this struct. |
no test coverage detected