CouchDBClientMangoIndexStructureMangoIndexA struct representing a Mango Index for CouchDB.struct MangoIndexTopicsInitializersinit(ddoc: String?, name: String, type: String, def: IndexDefinition)Initializes a new Mango Index.init(from: any Decoder) throwsInstance Propertieslet ddoc: String?The design document where the index is stored.let def: IndexDefinitionThe definition of the index.let name: StringThe name of the index.let type: StringThe type of the index (e.g., “json”).Instance Methodsfunc encode(to: any Encoder) throws