pub struct MedianPowerConsumptionEventCodes {
pub sensor_target: MedianPowerConsumptionMetricDimensionSensorTarget,
pub idleness: MedianPowerConsumptionMetricDimensionIdleness,
}
Fields§
§sensor_target: MedianPowerConsumptionMetricDimensionSensorTarget
§idleness: MedianPowerConsumptionMetricDimensionIdleness
Trait Implementations§
Source§impl AsEventCodes for MedianPowerConsumptionEventCodes
impl AsEventCodes for MedianPowerConsumptionEventCodes
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 MedianPowerConsumptionEventCodes
impl Clone for MedianPowerConsumptionEventCodes
Source§fn clone(&self) -> MedianPowerConsumptionEventCodes
fn clone(&self) -> MedianPowerConsumptionEventCodes
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 Ord for MedianPowerConsumptionEventCodes
impl Ord for MedianPowerConsumptionEventCodes
Source§fn cmp(&self, other: &MedianPowerConsumptionEventCodes) -> Ordering
fn cmp(&self, other: &MedianPowerConsumptionEventCodes) -> 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 MedianPowerConsumptionEventCodes
impl PartialEq for MedianPowerConsumptionEventCodes
Source§fn eq(&self, other: &MedianPowerConsumptionEventCodes) -> bool
fn eq(&self, other: &MedianPowerConsumptionEventCodes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for MedianPowerConsumptionEventCodes
impl PartialOrd for MedianPowerConsumptionEventCodes
impl Copy for MedianPowerConsumptionEventCodes
impl Eq for MedianPowerConsumptionEventCodes
impl StructuralPartialEq for MedianPowerConsumptionEventCodes
Auto Trait Implementations§
impl Freeze for MedianPowerConsumptionEventCodes
impl RefUnwindSafe for MedianPowerConsumptionEventCodes
impl Send for MedianPowerConsumptionEventCodes
impl Sync for MedianPowerConsumptionEventCodes
impl Unpin for MedianPowerConsumptionEventCodes
impl UnwindSafe for MedianPowerConsumptionEventCodes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)