pub enum NodesStatsParts<'b> {
None,
NodeId(&'b [&'b str]),
Metric(&'b [&'b str]),
NodeIdMetric(&'b [&'b str], &'b [&'b str]),
MetricIndexMetric(&'b [&'b str], &'b [&'b str]),
NodeIdMetricIndexMetric(&'b [&'b str], &'b [&'b str], &'b [&'b str]),
}
Expand description
API parts for the Nodes Stats API
Variants§
None
No parts
NodeId(&'b [&'b str])
NodeId
Metric(&'b [&'b str])
Metric
NodeIdMetric(&'b [&'b str], &'b [&'b str])
NodeId and Metric
MetricIndexMetric(&'b [&'b str], &'b [&'b str])
Metric and IndexMetric
NodeIdMetricIndexMetric(&'b [&'b str], &'b [&'b str], &'b [&'b str])
NodeId, Metric and IndexMetric
Implementations§
Trait Implementations§
Source§impl<'b> Clone for NodesStatsParts<'b>
impl<'b> Clone for NodesStatsParts<'b>
Source§fn clone(&self) -> NodesStatsParts<'b>
fn clone(&self) -> NodesStatsParts<'b>
Returns a duplicate 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 NodesStatsParts<'b>
impl<'b> Debug for NodesStatsParts<'b>
Source§impl<'b> PartialEq for NodesStatsParts<'b>
impl<'b> PartialEq for NodesStatsParts<'b>
impl<'b> StructuralPartialEq for NodesStatsParts<'b>
Auto Trait Implementations§
impl<'b> Freeze for NodesStatsParts<'b>
impl<'b> RefUnwindSafe for NodesStatsParts<'b>
impl<'b> Send for NodesStatsParts<'b>
impl<'b> Sync for NodesStatsParts<'b>
impl<'b> Unpin for NodesStatsParts<'b>
impl<'b> UnwindSafe for NodesStatsParts<'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