pub struct Hub2Status {
pub temperature: f64,
pub humidity: f64,
}
Expand description
Hub 2 status.
Fields§
§temperature: f64
Temperature (C).
humidity: f64
Humidity (%).
Trait Implementations§
Source§impl Clone for Hub2Status
impl Clone for Hub2Status
Source§fn clone(&self) -> Hub2Status
fn clone(&self) -> Hub2Status
Returns a duplicate 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 Hub2Status
impl Debug for Hub2Status
Source§impl<'de> Deserialize<'de> for Hub2Status
impl<'de> Deserialize<'de> for Hub2Status
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 Hub2Status
impl PartialEq for Hub2Status
impl StructuralPartialEq for Hub2Status
Auto Trait Implementations§
impl Freeze for Hub2Status
impl RefUnwindSafe for Hub2Status
impl Send for Hub2Status
impl Sync for Hub2Status
impl Unpin for Hub2Status
impl UnwindSafe for Hub2Status
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