Initializerswift-ip 0.3.0Firewalls->IP
init(bson:)
IP.AS.swift:62init(bson: BSON.DocumentDecoder<CodingKey>) throws
init(bson: BSON.DocumentDecoder<CodingKey>) throws
s2IPAAO9FirewallsE2ASV4bsonAE7BSONABI4BSONO12BSONDecodingE15DocumentDecoderVy_AE9CodingKeyOG_tKcfc
What are these?6IR1V
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 enum BSON
The namespace for all BSON types.
@frozen struct DocumentDecoder<CodingKey> where CodingKey : Hashable, CodingKey : RawRepresentable, CodingKey : Sendable, CodingKey.RawValue == String
A thin wrapper around a native Swift dictionary providing an efficient decoding interface for a Document
.
@frozen enum CodingKey
init(number: ASN, domain: String, name: String)
init(number: IP.ASN, metadata: Metadata)
var domain: String
var metadata: Metadata { get }
var name: String
let number: ASN
func encode(to bson: inout BSON.DocumentEncoder<CodingKey>)
@frozen struct Metadata
The human-readable name
and associated domain
of an Autonomous System.