// // OutgoingConnectionData.swift // MullvadVPN // // Created by Mojgan on 2023-11-15. // Copyright © 2025 Mullvad VPN AB. All rights reserved. // import Foundation import Network typealias IPV4ConnectionData = OutgoingConnectionData typealias IPV6ConnectionData = OutgoingConnectionData // MARK: - OutgoingConnectionData struct OutgoingConnectionData: Codable, Equatable { let ip: T let exitIP: Bool enum CodingKeys: String, CodingKey { case ip case exitIP = "mullvad_exit_ip" } static func == (lhs: Self, rhs: Self) -> Bool { lhs.ip.rawValue == rhs.ip.rawValue && lhs.exitIP == rhs.exitIP } }