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