Struct at4_protocol::messaging::ACStatus[][src]

pub struct ACStatus {
    pub power_state: Option<ACPowerState>,
    pub number: u8,
    pub mode: Option<ACMode>,
    pub fan_speed: Option<ACFanSpeed>,
    pub spill: bool,
    pub has_timer: bool,
    pub target_setpoint: u8,
    pub temperature: Option<f64>,
    pub error_code: u16,
}
Expand description

The state of an AC unit.

Fields

power_state: Option<ACPowerState>number: u8

Valid values are 0-3.

mode: Option<ACMode>fan_speed: Option<ACFanSpeed>spill: boolhas_timer: booltarget_setpoint: u8temperature: Option<f64>error_code: u16

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.