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 143143//! # }
144144//! ```
145145//! 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.
148148//!
149149//! ### Indexing
150150//!
261261//!
262262//! Some APIs expect newline delimited JSON
263263//! (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
265265//! above.
266266//!
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.
268268//! 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,
270270//! [Elasticsearch::send] can be used
271271//!
272272//! ```rust,no_run
You can’t perform that action at this time.
0 commit comments