Text this: Structures of Hall subgroups of finite metacyclic and nilpotent groups