Enumerationswift-ip 0.3.0IPinfo
CodingKey
IPinfo.CountryRange.swift:29@frozen enum CodingKey
@frozen enum CodingKey
import IPinfo
@frozen struct CountryRange
@frozen enum IPinfo
The namespace for IPinfo types.
case start_ip
case end_ip
case country
init(first: IP.V6, last: IP.V6, country: ISO.Country)
init(json: JSON.ObjectDecoder<CodingKey>) throws
let country: ISO.Country
let first: IP.V6
let last: IP.V6
func encode(to json: inout JSON.ObjectEncoder<CodingKey>)
protocol BitwiseCopyable
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)