We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
given
#[derive(FieldNamesAsArray)] struct StructA { a: String, b: StructB } struct StructB { c: String, d: String }
We shall have this: assert_eq!(StructA::FIELD_NAMES_AS_ARRAY, ["a", "b.c", "b.d"]);
assert_eq!(StructA::FIELD_NAMES_AS_ARRAY, ["a", "b.c", "b.d"]);
But at the moment we have: assert_eq!(StructA::FIELD_NAMES_AS_ARRAY, ["a", "b"]);
assert_eq!(StructA::FIELD_NAMES_AS_ARRAY, ["a", "b"]);