Nottinghamshire Police have charged a 27-year-old woman after an officer was shot in the foot in Nottingham city centre.