pub enum PowerMetricDimensionResult {
Mitigated = 0,
Shutdown = 1,
}
Variants§
Trait Implementations§
source§impl AsEventCode for PowerMetricDimensionResult
impl AsEventCode for PowerMetricDimensionResult
fn as_event_code(&self) -> u32
source§impl Clone for PowerMetricDimensionResult
impl Clone for PowerMetricDimensionResult
source§fn clone(&self) -> PowerMetricDimensionResult
fn clone(&self) -> PowerMetricDimensionResult
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 Debug for PowerMetricDimensionResult
impl Debug for PowerMetricDimensionResult
source§impl Hash for PowerMetricDimensionResult
impl Hash for PowerMetricDimensionResult
source§impl Ord for PowerMetricDimensionResult
impl Ord for PowerMetricDimensionResult
source§fn cmp(&self, other: &PowerMetricDimensionResult) -> Ordering
fn cmp(&self, other: &PowerMetricDimensionResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PowerMetricDimensionResult
impl PartialEq for PowerMetricDimensionResult
source§fn eq(&self, other: &PowerMetricDimensionResult) -> bool
fn eq(&self, other: &PowerMetricDimensionResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PowerMetricDimensionResult
impl PartialOrd for PowerMetricDimensionResult
source§fn partial_cmp(&self, other: &PowerMetricDimensionResult) -> Option<Ordering>
fn partial_cmp(&self, other: &PowerMetricDimensionResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PowerMetricDimensionResult
impl Eq for PowerMetricDimensionResult
impl StructuralPartialEq for PowerMetricDimensionResult
Auto Trait Implementations§
impl Freeze for PowerMetricDimensionResult
impl RefUnwindSafe for PowerMetricDimensionResult
impl Send for PowerMetricDimensionResult
impl Sync for PowerMetricDimensionResult
impl Unpin for PowerMetricDimensionResult
impl UnwindSafe for PowerMetricDimensionResult
Blanket Implementations§
§impl<A> AsEventCodes for Awhere
A: AsEventCode,
impl<A> AsEventCodes for Awhere
A: AsEventCode,
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.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