2022-09-07 03:37:22 -05:00
|
|
|
pub struct Demo(
|
|
|
|
i32,
|
|
|
|
/// field
|
|
|
|
pub i32,
|
|
|
|
#[doc(hidden)] i32,
|
|
|
|
);
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ set field = "$.index[*][?(@.docs=='field')].id"
|
2022-09-07 03:37:22 -05:00
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ is "$.index[*][?(@.name=='Demo')].inner.struct.kind.tuple[0]" null
|
|
|
|
//@ is "$.index[*][?(@.name=='Demo')].inner.struct.kind.tuple[1]" $field
|
|
|
|
//@ is "$.index[*][?(@.name=='Demo')].inner.struct.kind.tuple[2]" null
|
|
|
|
//@ count "$.index[*][?(@.name=='Demo')].inner.struct.kind.tuple[*]" 3
|