2022-09-03 13:36:28 -05:00
|
|
|
pub enum Foo {
|
2023-01-01 12:53:50 -06:00
|
|
|
// @is "$.index[*][?(@.name=='Has')].inner.discriminant" '{"expr":"0", "value":"0"}'
|
2022-09-03 13:36:28 -05:00
|
|
|
Has = 0,
|
2023-01-01 12:53:50 -06:00
|
|
|
// @is "$.index[*][?(@.name=='Doesnt')].inner.discriminant" null
|
2022-09-03 13:36:28 -05:00
|
|
|
Doesnt,
|
2023-01-01 12:53:50 -06:00
|
|
|
// @is "$.index[*][?(@.name=='AlsoDoesnt')].inner.discriminant" null
|
2022-09-03 13:36:28 -05:00
|
|
|
AlsoDoesnt,
|
2023-01-01 12:53:50 -06:00
|
|
|
// @is "$.index[*][?(@.name=='AlsoHas')].inner.discriminant" '{"expr":"44", "value":"44"}'
|
2022-09-03 13:36:28 -05:00
|
|
|
AlsoHas = 44,
|
|
|
|
}
|