pub enum ClusterStateParts<'b> {
None,
Metric(&'b [&'b str]),
MetricIndex(&'b [&'b str], &'b [&'b str]),
}
Expand description
API parts for the Cluster State API
Variants§
None
No parts
Metric(&'b [&'b str])
Metric
MetricIndex(&'b [&'b str], &'b [&'b str])
Metric and Index
Implementations§
Trait Implementations§
Source§impl<'b> Clone for ClusterStateParts<'b>
impl<'b> Clone for ClusterStateParts<'b>
Source§fn clone(&self) -> ClusterStateParts<'b>
fn clone(&self) -> ClusterStateParts<'b>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'b> Debug for ClusterStateParts<'b>
impl<'b> Debug for ClusterStateParts<'b>
Source§impl<'b> PartialEq for ClusterStateParts<'b>
impl<'b> PartialEq for ClusterStateParts<'b>
impl<'b> Eq for ClusterStateParts<'b>
impl<'b> StructuralPartialEq for ClusterStateParts<'b>
Auto Trait Implementations§
impl<'b> Freeze for ClusterStateParts<'b>
impl<'b> RefUnwindSafe for ClusterStateParts<'b>
impl<'b> Send for ClusterStateParts<'b>
impl<'b> Sync for ClusterStateParts<'b>
impl<'b> Unpin for ClusterStateParts<'b>
impl<'b> UnwindSafe for ClusterStateParts<'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