TopologyDescription

public struct TopologyDescription : Equatable

A struct describing the state of a MongoDB deployment: its type (standalone, replica set, or sharded), which servers are up, what type of servers they are, which is primary, and so on.