Struct elasticsearch::cluster::ClusterHealth[][src]

pub struct ClusterHealth<'a, 'b> { /* fields omitted */ }
Expand description

Builder for the Cluster Health API

Returns basic information about the health of the cluster.

Implementations

Creates a new instance of ClusterHealth with the specified API parts

Include the stack trace of returned errors.

Whether to expand wildcard expression to concrete indices that are open, closed or both.

A comma-separated list of filters used to reduce the response.

Adds a HTTP header

Return human readable values for statistics.

Specify the level of detail for returned information

Return local information, do not retrieve the state from master node (default: false)

Explicit operation timeout for connection to master node

Pretty format the returned JSON response.

Sets a request timeout for this API call.

The timeout is applied from when the request starts connecting until the response body has finished.

The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.

Explicit operation timeout

Wait until the specified number of shards is active

Wait until all currently queued events with the given priority are processed

Whether to wait until there are no initializing shards in the cluster

Whether to wait until there are no relocating shards in the cluster

Wait until the specified number of nodes is available

Wait until cluster is in a specific state

Creates an asynchronous call to the Cluster Health API that can be awaited

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.