How to get mineral or gem name from cif or mat_id

I am new with pymatgen.
Is there a way to get the mineral name from the structure or formula.

structure = Structure.from_file("quartz.cif")

or

quartz = mpr.get_structure_by_material_id("mp-6945")

So something like :
get_name_str(quartz.composition.reduced_formula) ???