pub fn get_struct_fields<'a>(
data: &'a Data,
meta: &str,
) -> Result<&'a Fields, Error>Expand description
Get the fields of a data structure if that structure is a struct; otherwise, return a compile error that points to the site of the macro invocation.
meta should be the name of the macro calling this function.