Struct at4_protocol::messaging::GroupStatus[][src]

pub struct GroupStatus {
    pub power_state: GroupPowerState,
    pub group_number: u8,
    pub control_method: GroupControlMethod,
    pub open_percentage: u8,
    pub battery_low: bool,
    pub turbo_support: bool,
    pub target_setpoint: u8,
    pub has_sensor: bool,
    pub current_temperature: Option<f64>,
    pub spill: bool,
}
Expand description

The state of a group.

Fields

power_state: GroupPowerStategroup_number: u8

Valid values are 0-15.

control_method: GroupControlMethodopen_percentage: u8battery_low: boolturbo_support: booltarget_setpoint: u8has_sensor: boolcurrent_temperature: Option<f64>spill: bool

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.