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