MongoCollection.listIndexes

MongoCursor!R listIndexes(R = Bson)() @safe

Returns an array that holds a list of documents that identify and describe the existing indexes on the collection.