This commit changes the api_generator to pass a reference to an instance of
Elasticsearch struct to each builder struct. The reference has a lifetime of 'a,
distinct from the lifetime 'b of the *Parts enum and references passed to builder
struct functions.
This commit changes the api_generator to pass a reference to an instance of Elasticsearch struct to each builder struct. The reference has a lifetime of 'a, distinct from the lifetime 'b of the *Parts enum and references passed to builder struct functions.
Closes #36