Enum fritzapi::stats::DeviceStatsKind
source · pub enum DeviceStatsKind {
Temperature,
Voltage,
Power,
Energy,
}
Expand description
Category of measurements that the fritz devices may provide.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for DeviceStatsKind
impl Clone for DeviceStatsKind
source§fn clone(&self) -> DeviceStatsKind
fn clone(&self) -> DeviceStatsKind
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 DeviceStatsKind
impl Debug for DeviceStatsKind
source§impl Display for DeviceStatsKind
impl Display for DeviceStatsKind
source§impl FromStr for DeviceStatsKind
impl FromStr for DeviceStatsKind
source§impl Hash for DeviceStatsKind
impl Hash for DeviceStatsKind
source§impl PartialEq for DeviceStatsKind
impl PartialEq for DeviceStatsKind
source§fn eq(&self, other: &DeviceStatsKind) -> bool
fn eq(&self, other: &DeviceStatsKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceStatsKind
impl Eq for DeviceStatsKind
impl StructuralEq for DeviceStatsKind
impl StructuralPartialEq for DeviceStatsKind
Auto Trait Implementations§
impl RefUnwindSafe for DeviceStatsKind
impl Send for DeviceStatsKind
impl Sync for DeviceStatsKind
impl Unpin for DeviceStatsKind
impl UnwindSafe for DeviceStatsKind
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.