Struct hass_rs::types::UnitSystem
source · pub struct UnitSystem {
pub length: String,
pub mass: String,
pub pressure: String,
pub temperature: String,
pub volume: String,
}
Expand description
This is part of HassConfig
Fields§
§length: String
§mass: String
§pressure: String
§temperature: String
§volume: String
Trait Implementations§
source§impl Debug for UnitSystem
impl Debug for UnitSystem
source§impl<'de> Deserialize<'de> for UnitSystem
impl<'de> Deserialize<'de> for UnitSystem
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 Display for UnitSystem
impl Display for UnitSystem
source§impl PartialEq for UnitSystem
impl PartialEq for UnitSystem
source§fn eq(&self, other: &UnitSystem) -> bool
fn eq(&self, other: &UnitSystem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnitSystem
impl Serialize for UnitSystem
impl StructuralPartialEq for UnitSystem
Auto Trait Implementations§
impl RefUnwindSafe for UnitSystem
impl Send for UnitSystem
impl Sync for UnitSystem
impl Unpin for UnitSystem
impl UnwindSafe for UnitSystem
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