File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 143
143
//! # }
144
144
//! ```
145
145
//! For APIs that contain parts of the Url path to be provided by the consumer, the Url path
146
- //! variants are modelled as an `enum`, such as [CatIndicesParts] in the above example, which models
147
- //! the variants of the [CatIndices] API.
146
+ //! variants are modelled as an `enum`, such as [CatIndicesParts](cat::CatIndicesParts) in the above example, which models
147
+ //! the variants of the [CatIndices](cat::CatIndices) API.
148
148
//!
149
149
//! ### Indexing
150
150
//!
261
261
//!
262
262
//! Some APIs expect newline delimited JSON
263
263
//! (NDJSON) however, so the `body` associated for these APIs constrain the input to a vector of
264
- //! types that implement [Body] trait. An example of this was the bulk indexing multiple documents
264
+ //! types that implement [Body](http::request::Body) trait. An example of this was the bulk indexing multiple documents
265
265
//! above.
266
266
//!
267
- //! The [Body] trait represents the body of an API call, allowing for different body implementations.
267
+ //! The [Body](http::request::Body) trait represents the body of an API call, allowing for different body implementations.
268
268
//! As well as those to represent JSON and NDJSON, a few other types also have implementations for
269
- //! [Body], such as byte slice. Whilst these can't be passed to the API functions directly,
269
+ //! [Body](http::request::Body) , such as byte slice. Whilst these can't be passed to the API functions directly,
270
270
//! [Elasticsearch::send] can be used
271
271
//!
272
272
//! ```rust,no_run
You can’t perform that action at this time.
0 commit comments