Struct spaceapi::sensors::TemperatureSensor
[−]
[src]
pub struct TemperatureSensor { pub unit: String, pub location: String, pub name: Option<String>, pub description: Option<String>, pub value: f64, }
Fields
unit: String
location: String
name: Option<String>
description: Option<String>
value: f64
Trait Implementations
impl Debug for TemperatureSensor
[src]
impl Clone for TemperatureSensor
[src]
fn clone(&self) -> TemperatureSensor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for TemperatureSensor
[src]
fn eq(&self, __arg_0: &TemperatureSensor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TemperatureSensor) -> bool
This method tests for !=
.