Struct dht_logger::messages::DhtSensorsSerde
source · [−]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
sourceimpl Debug for DhtSensorsSerde
impl Debug for DhtSensorsSerde
sourceimpl<'de> Deserialize<'de> for DhtSensorsSerde
impl<'de> Deserialize<'de> for DhtSensorsSerde
sourcefn 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
sourceimpl From<DhtSensors> for DhtSensorsSerde
impl From<DhtSensors> for DhtSensorsSerde
sourcefn from(data: DhtSensors) -> DhtSensorsSerde
fn from(data: DhtSensors) -> DhtSensorsSerde
Converts to this type from the input type.
sourceimpl Serialize for DhtSensorsSerde
impl Serialize for DhtSensorsSerde
Auto Trait Implementations
impl RefUnwindSafe for DhtSensorsSerde
impl Send for DhtSensorsSerde
impl Sync for DhtSensorsSerde
impl Unpin for DhtSensorsSerde
impl UnwindSafe for DhtSensorsSerde
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more