pub async fn get_collection<T>( state: Data<Mutex<Client>>, collection_name: &str, ) -> Result<Collection<T>>