How do you get a list of the fields that are on an entry?

I tried `{{ dump(entry.subentry) }}` but that isn't any help ...