Struct spaceapi::sensors::WindSensorMeasurement
source · pub struct WindSensorMeasurement {
pub unit: String,
pub value: f64,
}
Fields§
§unit: String
§value: f64
Trait Implementations§
source§impl Clone for WindSensorMeasurement
impl Clone for WindSensorMeasurement
source§fn clone(&self) -> WindSensorMeasurement
fn clone(&self) -> WindSensorMeasurement
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 WindSensorMeasurement
impl Debug for WindSensorMeasurement
source§impl Default for WindSensorMeasurement
impl Default for WindSensorMeasurement
source§fn default() -> WindSensorMeasurement
fn default() -> WindSensorMeasurement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WindSensorMeasurement
impl<'de> Deserialize<'de> for WindSensorMeasurement
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<WindSensorMeasurement> for WindSensorMeasurement
impl PartialEq<WindSensorMeasurement> for WindSensorMeasurement
source§fn eq(&self, other: &WindSensorMeasurement) -> bool
fn eq(&self, other: &WindSensorMeasurement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WindSensorMeasurement
impl Serialize for WindSensorMeasurement
impl StructuralPartialEq for WindSensorMeasurement
Auto Trait Implementations§
impl RefUnwindSafe for WindSensorMeasurement
impl Send for WindSensorMeasurement
impl Sync for WindSensorMeasurement
impl Unpin for WindSensorMeasurement
impl UnwindSafe for WindSensorMeasurement
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