/// Lists all indexes on this collection.
Lists all indexes on this collection.
Lists all indexes on this collection .
pub fn list_indexes(
        &self,
        options: impl Into<Option<ListIndexesOptions>>,
    ) -> Result<Cursor<IndexModel>> {
        RUNTIME
            .block_on(self.async_collection.list_indexes(options))
            .map(Cursor::new)
    }
pub fn list_indexes ( & self , options : impl Into < Option < ListIndexesOptions > > , ) -> Result < Cursor < IndexModel > > { RUNTIME . block_on ( self . async_collection . list_indexes ( options ) ) . map ( Cursor :: new ) }
Lists all indexes on this collection.
Lists all indexes on this collection .
&self
options
impl Into<Option<ListIndexesOptions>>