ObsSkyObs

Struct ObsSkyObs 

Source
pub struct ObsSkyObs {
Show 14 fields pub epoch: u64, pub illuminance: u32, pub uv: u32, pub rain_minute: f32, pub wind_lull_min3: f32, pub wind_avg: f32, pub wind_gust_max3: f32, pub wind_direction: u32, pub battery: f32, pub report_interval: u32, pub solar_radiation: u32, pub rain_day: Option<u32>, pub precipitation_type: u8, pub wind_sample_interval: u32,
}
Expand description

Sky Observation detail.

Fields§

§epoch: u64§illuminance: u32§uv: u32§rain_minute: f32§wind_lull_min3: f32§wind_avg: f32§wind_gust_max3: f32§wind_direction: u32§battery: f32§report_interval: u32§solar_radiation: u32§rain_day: Option<u32>§precipitation_type: u8§wind_sample_interval: u32

Trait Implementations§

Source§

impl Debug for ObsSkyObs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ObsSkyObs

Source§

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 ObsSkyObs

Source§

fn eq(&self, other: &ObsSkyObs) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ObsSkyObs

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ObsSkyObs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,