Instance Propertyswift-ip 0.3.0Firewalls->IP
metadata
IP.AS.swift:37var metadata: Metadata { get }
var metadata: Metadata { get }
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 Metadata
The human-readable name
and associated domain
of an Autonomous System.
init(bson: BSON.DocumentDecoder<CodingKey>) throws
init(number: ASN, domain: String, name: String)
init(number: IP.ASN, metadata: Metadata)
var domain: String
var name: String
let number: ASN
func encode(to bson: inout BSON.DocumentEncoder<CodingKey>)
@frozen enum CodingKey