Trip
public struct Trip: CustomDebugStringConvertible
A trip between two railway stations consisting of one or more SingleTrainTrip
‘s
-
A sequence of trains that will bring you from A to B
Declaration
Swift
public let trains: [SingleTrainTrip]
-
The total amount of time needed to get from A to B with the
trains
Declaration
Swift
public let duration: TimeInterval
-
Declaration
Swift
public var debugDescription: String
-
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder