Implement some CustomDebugStringConvertible
- AppFeature - AppProduct - ProviderID
This commit is contained in:
parent
fb0a9262c0
commit
1dfb013115
|
@ -53,8 +53,8 @@ extension AppFeature: Identifiable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension AppFeature: CustomStringConvertible {
|
extension AppFeature: CustomDebugStringConvertible {
|
||||||
public var description: String {
|
public var debugDescription: String {
|
||||||
rawValue
|
rawValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,8 +55,8 @@ extension AppProduct {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension AppProduct: CustomStringConvertible {
|
extension AppProduct: CustomDebugStringConvertible {
|
||||||
public var description: String {
|
public var debugDescription: String {
|
||||||
rawValue
|
rawValue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,6 +144,12 @@ extension OnDemandModule.Policy: LocalizableEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extension ProviderID: CustomDebugStringConvertible {
|
||||||
|
public var debugDescription: String {
|
||||||
|
rawValue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
extension VPNServer {
|
extension VPNServer {
|
||||||
public var region: String {
|
public var region: String {
|
||||||
[provider.countryCode.localizedAsRegionCode, provider.area]
|
[provider.countryCode.localizedAsRegionCode, provider.area]
|
||||||
|
|
Loading…
Reference in New Issue