Struct fritzapi::devices::fritz_dect_2xx::FritzDect2XX
source · pub struct FritzDect2XX {
pub identifier: String,
pub name: String,
pub productname: String,
pub on: bool,
pub millivolts: u32,
pub milliwatts: u32,
pub energy_in_watt_h: u32,
pub celsius: f32,
}
Fields§
§identifier: String
§name: String
§productname: String
§on: bool
§millivolts: u32
§milliwatts: u32
§energy_in_watt_h: u32
§celsius: f32
Trait Implementations§
source§impl Debug for FritzDect2XX
impl Debug for FritzDect2XX
source§impl<'de> Deserialize<'de> for FritzDect2XX
impl<'de> Deserialize<'de> for FritzDect2XX
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FritzDect2XX
impl PartialEq for FritzDect2XX
source§fn eq(&self, other: &FritzDect2XX) -> bool
fn eq(&self, other: &FritzDect2XX) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FritzDect2XX
impl Serialize for FritzDect2XX
impl StructuralPartialEq for FritzDect2XX
Auto Trait Implementations§
impl RefUnwindSafe for FritzDect2XX
impl Send for FritzDect2XX
impl Sync for FritzDect2XX
impl Unpin for FritzDect2XX
impl UnwindSafe for FritzDect2XX
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