Enumerationswift-mongodb 0.29.3MongoBuiltins->Mongo
Buckets
Mongo.BucketAutoEncoder.swift:55@frozen enum Buckets
@frozen enum Buckets
import Mongo
A single-type module that declares the Mongo
namespace.
import MongoBuiltins
@frozen struct BucketAutoEncoder
enum Mongo
case buckets
init(_ output: consuming BSON.Output)
static var frame: BSON.DocumentFrame { get }
subscript(key: Output) -> Mongo.BucketOutputDocument? { get set }
subscript(key: Granularity) -> Mongo.PreferredNumbers? { get set }
subscript(key: Buckets) -> Int? { get set }
subscript<Encodable>(key: Mongo.GroupBy) -> Encodable? where Encodable : BSONEncodable { get set }
subscript(key: Mongo.GroupBy, yield: (inout Mongo.ExpressionEncoder) -> ()) -> Void { mutating get }
consuming func move() -> BSON.Output
@frozen enum Granularity
@frozen enum Output
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)