A characterization of generalized Hughes complexes