pub struct MinPowerConsumptionEventCodes {
pub sensor_target: MinPowerConsumptionMetricDimensionSensorTarget,
pub idleness: MinPowerConsumptionMetricDimensionIdleness,
}
Fields§
§sensor_target: MinPowerConsumptionMetricDimensionSensorTarget
§idleness: MinPowerConsumptionMetricDimensionIdleness
Trait Implementations§
source§impl AsEventCodes for MinPowerConsumptionEventCodes
impl AsEventCodes for MinPowerConsumptionEventCodes
source§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 Clone for MinPowerConsumptionEventCodes
impl Clone for MinPowerConsumptionEventCodes
source§fn clone(&self) -> MinPowerConsumptionEventCodes
fn clone(&self) -> MinPowerConsumptionEventCodes
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 Hash for MinPowerConsumptionEventCodes
impl Hash for MinPowerConsumptionEventCodes
source§impl Ord for MinPowerConsumptionEventCodes
impl Ord for MinPowerConsumptionEventCodes
source§fn cmp(&self, other: &MinPowerConsumptionEventCodes) -> Ordering
fn cmp(&self, other: &MinPowerConsumptionEventCodes) -> 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 MinPowerConsumptionEventCodes
impl PartialEq for MinPowerConsumptionEventCodes
source§fn eq(&self, other: &MinPowerConsumptionEventCodes) -> bool
fn eq(&self, other: &MinPowerConsumptionEventCodes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MinPowerConsumptionEventCodes
impl PartialOrd for MinPowerConsumptionEventCodes
source§fn partial_cmp(&self, other: &MinPowerConsumptionEventCodes) -> Option<Ordering>
fn partial_cmp(&self, other: &MinPowerConsumptionEventCodes) -> 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 MinPowerConsumptionEventCodes
impl Eq for MinPowerConsumptionEventCodes
impl StructuralPartialEq for MinPowerConsumptionEventCodes
Auto Trait Implementations§
impl Freeze for MinPowerConsumptionEventCodes
impl RefUnwindSafe for MinPowerConsumptionEventCodes
impl Send for MinPowerConsumptionEventCodes
impl Sync for MinPowerConsumptionEventCodes
impl Unpin for MinPowerConsumptionEventCodes
impl UnwindSafe for MinPowerConsumptionEventCodes
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