Leg

constructor(start: Destination, end: Destination, transitMode: TravelMode, distance: Double, duration: Float, coordinates: List<@Serializable(with = CompressedCoordinateSerializer::class) Coordinate>, steps: List<Step>)