Struct airkorea::Pollutant [−][src]
pub struct Pollutant { pub name: String, pub unit: String, pub level: Option<f32>, pub grade: Grade, }
Fields
name: String
unit: String
level: Option<f32>
grade: Grade
Trait Implementations
impl Clone for Pollutant
[src]
impl Clone for Pollutant
fn clone(&self) -> Pollutant
[src]
fn clone(&self) -> Pollutant
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Pollutant
[src]
impl Debug for Pollutant
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Pollutant
[src]
impl Display for Pollutant