Enumerationswift-mongodb 0.27.0MongoDriver->Mongo
CodingKey
Mongo.ReplicaSetConfiguration.swift:37@frozen enum CodingKey
Cases
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (13) members.
Types
struct Citizen
A configuration for a citizen member. Citizens always cast at least one vote for primary, and can themselves become primary, based on their priority.
struct Member
struct Replica
struct Resident
A configuration for a resident member. Residents can vote for primary, but cannot become primary. Residents can be hidden and delayed.
enum Rights
Type members
init(bson: BSON.DocumentDecoder<CodingKey>
) throws init(name: String, writeConcernMajorityJournalDefault: Bool, members: [Member], version: Int, term: Int?
)
Instance members
Citizens in MongoDriver
Conformances
protocol BitwiseCopyable
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
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
Type members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.