pub fn create_indexes(
        &self,
        indexes: impl IntoIterator<Item = IndexModel>,
        options: impl Into<Option<CreateIndexOptions>>,
    ) -> Result<CreateIndexesResult> {
        RUNTIME.block_on(self.async_collection.create_indexes(indexes, options))
    }
/// Creates the given indexes on this collection.
Creates the given indexes on this collection.
Creates the given indexes on this collection .
pub fn create_indexes(
        &self,
        indexes: impl IntoIterator<Item = IndexModel>,
        options: impl Into<Option<CreateIndexOptions>>,
    ) -> Result<CreateIndexesResult> {
        RUNTIME.block_on(self.async_collection.create_indexes(indexes, options))
    }
pub fn create_indexes ( & self , indexes : impl IntoIterator < Item = IndexModel > , options : impl Into < Option < CreateIndexOptions > > , ) -> Result < CreateIndexesResult > { RUNTIME . block_on ( self . async_collection . create_indexes ( indexes , options ) ) }
Creates the given indexes on this collection.
Creates the given indexes on this collection .
&self
indexes
impl IntoIterator<Item = IndexModel>
options
impl Into<Option<CreateIndexOptions>>
&self
indexes
impl IntoIterator<Item = IndexModel>
options
impl Into<Option<CreateIndexOptions>>