Struct follow_heating::io::temperatures::file::TimestampedTemperature
source · pub struct TimestampedTemperature {
value: f32,
timestamp: DateTime<Utc>,
}
Fields§
§value: f32
§timestamp: DateTime<Utc>
Trait Implementations§
source§impl Clone for TimestampedTemperature
impl Clone for TimestampedTemperature
source§fn clone(&self) -> TimestampedTemperature
fn clone(&self) -> TimestampedTemperature
Returns a copy 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 TimestampedTemperature
impl Debug for TimestampedTemperature
source§impl<'de> Deserialize<'de> for TimestampedTemperature
impl<'de> Deserialize<'de> for TimestampedTemperature
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 TimestampedTemperature
impl PartialEq for TimestampedTemperature
source§fn eq(&self, other: &TimestampedTemperature) -> bool
fn eq(&self, other: &TimestampedTemperature) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimestampedTemperature
Auto Trait Implementations§
impl RefUnwindSafe for TimestampedTemperature
impl Send for TimestampedTemperature
impl Sync for TimestampedTemperature
impl Unpin for TimestampedTemperature
impl UnwindSafe for TimestampedTemperature
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