The variety of module structures