pub struct CatMaster<'a, 'b> { /* private fields */ }👎Deprecated: To promote inclusive language, please use ‘/_cat/cluster_manager’ instead.
Expand description
Builder for the Cat Master API
Returns information about the cluster-manager node.
Implementations§
Source§impl<'a, 'b> CatMaster<'a, 'b>
impl<'a, 'b> CatMaster<'a, 'b>
Sourcepub fn cluster_manager_timeout(self, cluster_manager_timeout: &'b str) -> Self
pub fn cluster_manager_timeout(self, cluster_manager_timeout: &'b str) -> Self
Explicit operation timeout for connection to cluster-manager node
Sourcepub fn error_trace(self, error_trace: bool) -> Self
pub fn error_trace(self, error_trace: bool) -> Self
Include the stack trace of returned errors.
Sourcepub fn filter_path(self, filter_path: &'b [&'b str]) -> Self
pub fn filter_path(self, filter_path: &'b [&'b str]) -> Self
A comma-separated list of filters used to reduce the response.
Sourcepub fn format(self, format: &'b str) -> Self
pub fn format(self, format: &'b str) -> Self
a short version of the Accept header, e.g. json, yaml
Sourcepub fn header(self, key: HeaderName, value: HeaderValue) -> Self
pub fn header(self, key: HeaderName, value: HeaderValue) -> Self
Adds a HTTP header
Sourcepub fn local(self, local: bool) -> Self
pub fn local(self, local: bool) -> Self
Return local information, do not retrieve the state from cluster-manager node (default: false)
Sourcepub fn master_timeout(self, master_timeout: &'b str) -> Self
👎Deprecated: This parameter is deprecated in favor of cluster_manager_timeout to support inclusive terminology.
pub fn master_timeout(self, master_timeout: &'b str) -> Self
Explicit operation timeout for connection to cluster-manager node
Sourcepub fn request_timeout(self, timeout: Duration) -> Self
pub fn request_timeout(self, timeout: Duration) -> Self
Sets a request timeout for this API call.
The timeout is applied from when the request starts connecting until the response body has finished.
Sourcepub fn s(self, s: &'b [&'b str]) -> Self
pub fn s(self, s: &'b [&'b str]) -> Self
Comma-separated list of column names or column aliases to sort by
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for CatMaster<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for CatMaster<'a, 'b>
impl<'a, 'b> Send for CatMaster<'a, 'b>
impl<'a, 'b> Sync for CatMaster<'a, 'b>
impl<'a, 'b> Unpin for CatMaster<'a, 'b>
impl<'a, 'b> !UnwindSafe for CatMaster<'a, 'b>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.