Rock or water pipit

Is this a rock pipit or a water pipit, Photo taken at Barns Ness in East Lothian