BasicCodingKey
A basic CodingKey
implementation.
enum BasicCodingKey
A basic CodingKey
implementation.
enum BasicCodingKey
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
case key(String)
case index(Int)
protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable
A type that can be used as a key for encoding and decoding.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol ExpressibleByExtendedGraphemeClusterLiteral : ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single extended grapheme cluster.
protocol ExpressibleByIntegerLiteral
A type that can be initialized with an integer literal.
protocol ExpressibleByStringLiteral : ExpressibleByExtendedGraphemeClusterLiteral
A type that can be initialized with a string literal.
protocol ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single Unicode scalar value.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(_ codingKey: CodingKey)
init(_ codingKeyRepresentable: Vapor.CodingKeyRepresentable)
init?(intValue: Int)
See CodingKey
.
init(integerLiteral: Int)
init(stringLiteral: String)
init?(stringValue: String)
See CodingKey
.
var debugDescription: String { get }
var description: String { get }
var intValue: Int? { get }
See CodingKey
.
var stringValue: String { get }
See CodingKey
.
static func integer(_ i: Int) -> BasicCodingKey
static func string(_ s: String) -> BasicCodingKey
init(extendedGraphemeClusterLiteral value: Self.StringLiteralType)
init(unicodeScalarLiteral value: Self.ExtendedGraphemeClusterLiteralType)
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.