Instance Propertyswift-ip 0.3.0Firewalls->IP
number
IP.AS.swift:13let number: ASN
let number: ASN
import Firewalls
import IP
This Foundation-free module provides tools for parsing and formatting IP addresses, and data structures for performing efficient IP address lookups.
@frozen struct AS
Describes an Autonomous System (AS).
@frozen enum IP
The namespace for IP types.
@frozen struct ASN
An Autonomous System Number (ASN).
init(bson: BSON.DocumentDecoder<CodingKey>) throws
init(number: ASN, domain: String, name: String)
init(number: IP.ASN, metadata: Metadata)
var domain: String
var metadata: Metadata { get }
var name: String
func encode(to bson: inout BSON.DocumentEncoder<CodingKey>)
@frozen enum CodingKey
@frozen struct Metadata
The human-readable name
and associated domain
of an Autonomous System.