11 lines
250 B
Swift
11 lines
250 B
Swift
import Foundation
|
|
|
|
public struct VehicleRegion: Codable, Hashable {
|
|
public var name: String
|
|
public var codes: [Int]
|
|
|
|
public static func == (lhs: VehicleRegion, rhs: VehicleRegion) -> Bool {
|
|
return lhs.name == rhs.name
|
|
}
|
|
}
|