[][src]Struct aqi::AirQuality

pub struct AirQuality {
    pub aqi: u32,
    pub level: AirQualityLevel,
}

Result type for AQI calculations

Fields

aqi: u32

The numerical AQI value, in a range between 0 and 500

level: AirQualityLevel

The human-friendly interpretation of the numeric AQI value

Trait Implementations

impl Clone for AirQuality[src]

impl Copy for AirQuality[src]

impl Debug for AirQuality[src]

impl Eq for AirQuality[src]

impl PartialEq<AirQuality> for AirQuality[src]

impl StructuralEq for AirQuality[src]

impl StructuralPartialEq for AirQuality[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.