Enumerationswift-mongodb 0.29.3MongoBuiltins->Mongo
Index
Mongo.UpdateArrayEncoder.swift:57@frozen enum Index
@frozen enum Index
import Mongo
A single-type module that declares the Mongo
namespace.
import MongoBuiltins
@frozen struct UpdateArrayEncoder
enum Mongo
case position
case sort
init(_ output: consuming BSON.Output)
static var frame: BSON.DocumentFrame { get }
subscript(key: Index) -> Int? { get set }
subscript<Array>(key: Each) -> Array? where Array : BSONEncodable { get set }
subscript<CodingKey>(key: Sort, using _: CodingKey.Type = CodingKey.self, yield: (inout Mongo.SortEncoder<CodingKey>) -> ()) -> Void where CodingKey : RawRepresentable, CodingKey.RawValue == String { mutating get }
consuming func move() -> BSON.Output
@frozen enum Each
@frozen enum Sort
protocol BitwiseCopyable
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init?(rawValue: String)
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)