pub fn named_struct_fields_from_data(data: Data) -> Vec<Field>
Expand description

Extracts named struct fields from data Panics if either the data does not represent a struct or the struct is a unit struct or tuple struct