pub struct DhtSensorsSerde {
pub ts: DateTime<Utc>,
pub o: Vec<String>,
pub t: Vec<f32>,
pub h: Vec<f32>,
pub hi: Vec<f32>,
}
Expand description
A more compactly serialized verson of DhtSensors for serializing via JSON
This is not intended on being human-readable. For human-readability, use DhtSensors
instead.
Fields§
§ts: DateTime<Utc>
§o: Vec<String>
§t: Vec<f32>
§h: Vec<f32>
§hi: Vec<f32>
Trait Implementations§
Source§impl Debug for DhtSensorsSerde
impl Debug for DhtSensorsSerde
Source§impl<'de> Deserialize<'de> for DhtSensorsSerde
impl<'de> Deserialize<'de> for DhtSensorsSerde
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 From<DhtSensors> for DhtSensorsSerde
impl From<DhtSensors> for DhtSensorsSerde
Source§fn from(data: DhtSensors) -> DhtSensorsSerde
fn from(data: DhtSensors) -> DhtSensorsSerde
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DhtSensorsSerde
impl RefUnwindSafe for DhtSensorsSerde
impl Send for DhtSensorsSerde
impl Sync for DhtSensorsSerde
impl Unpin for DhtSensorsSerde
impl UnwindSafe for DhtSensorsSerde
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