/// get the fields for the Enum or Struct.
get the fields for the Enum or Struct.
get the fields for the Enum or Struct .
pub fn fields(&self) -> &Vec<DataFields> {
    match self {
      Self::Enum(InputEnum { name, .. }) => panic!("{} isn't a Struct", name),
      Self::Struct(InputStruct { fields, .. }) => fields,
    }
  }
pub fn fields ( & self ) -> & Vec < DataFields > { match self { Self :: Enum ( InputEnum { name , .. } ) => panic ! ( " " name ) , Self :: Struct ( InputStruct { fields , .. } ) => fields , } }
get the fields for the Enum or Struct.
get the fields for the Enum or Struct .
&self