Struct luftpost::sensor::Sensor [] [src]

pub struct Sensor {
    pub name: String,
    pub id: String,
    pub ui_uri: String,
    pub data_uri: String,
    pub threshold_pm10: Option<f32>,
    pub threshold_pm2: Option<f32>,
    pub notification_condition: Option<NotificationCondition>,
}

Fields

Methods

impl Sensor
[src]

Trait Implementations

impl Debug for Sensor
[src]

Formats the value using the given formatter.

impl PartialEq for Sensor
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.