Struct elasticsearch::cluster::ClusterPostVotingConfigExclusions [−][src]
pub struct ClusterPostVotingConfigExclusions<'a, 'b, B> { /* fields omitted */ }
Expand description
Builder for the Cluster Post Voting Config Exclusions API
Updates the cluster voting config exclusions by node ids or node names.
Implementations
Creates a new instance of ClusterPostVotingConfigExclusions
pub fn body<T>(
self,
body: T
) -> ClusterPostVotingConfigExclusions<'a, 'b, JsonBody<T>> where
T: Serialize,
pub fn body<T>(
self,
body: T
) -> ClusterPostVotingConfigExclusions<'a, 'b, JsonBody<T>> where
T: Serialize,
The body for the API call
Include the stack trace of returned errors.
A comma-separated list of filters used to reduce the response.
Adds a HTTP header
A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_names.
A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_ids.
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.
Trait Implementations
Auto Trait Implementations
impl<'a, 'b, B> !RefUnwindSafe for ClusterPostVotingConfigExclusions<'a, 'b, B>
impl<'a, 'b, B> Send for ClusterPostVotingConfigExclusions<'a, 'b, B> where
B: Send,
impl<'a, 'b, B> Sync for ClusterPostVotingConfigExclusions<'a, 'b, B> where
B: Sync,
impl<'a, 'b, B> Unpin for ClusterPostVotingConfigExclusions<'a, 'b, B> where
B: Unpin,
impl<'a, 'b, B> !UnwindSafe for ClusterPostVotingConfigExclusions<'a, 'b, B>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more