pub struct SensorValue {
pub val: f32,
pub created_at: Timestamp,
}Fields§
§val: f32§created_at: TimestampTrait Implementations§
Source§impl Clone for SensorValue
impl Clone for SensorValue
Source§fn clone(&self) -> SensorValue
fn clone(&self) -> SensorValue
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 SensorValue
impl Debug for SensorValue
Source§impl Default for SensorValue
impl Default for SensorValue
Source§fn default() -> SensorValue
fn default() -> SensorValue
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SensorValue
impl RefUnwindSafe for SensorValue
impl Send for SensorValue
impl Sync for SensorValue
impl Unpin for SensorValue
impl UnwindSafe for SensorValue
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