Data class representing a segment. Visits contains segments attached to them, to provide a better context of the visit.