With the latest pre-release, I'm getting an issue revolving around the document type. If I build out the mappings without Struct::static_ty(): Struct::index_mapping(), it's fine. Removing the wrapping "_doc": {} corrected the issue for me.
This is related to the removal of mapping types in version 7.x.