Here are some guidelines from:
British Swimming – Nutrition and Cereal bars
Swim England – Hydration
Nutrition