mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
15 lines
393 B
Swift
15 lines
393 B
Swift
|
|
public struct PhoneNumberWithLabel: Equatable {
|
|
public let label: String
|
|
public let number: String
|
|
|
|
public init(label: String, number: String) {
|
|
self.label = label
|
|
self.number = number
|
|
}
|
|
|
|
public static func ==(lhs: PhoneNumberWithLabel, rhs: PhoneNumberWithLabel) -> Bool {
|
|
return lhs.label == rhs.label && lhs.number == rhs.number
|
|
}
|
|
}
|