Instance Propertyswift-ip 0.3.0Firewalls->IP
name
IP.AS.swift:17var name: String
var name: String
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 String
A Unicode string value that is a collection of characters.
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 }
let number: ASN
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.