pub struct Status {
    pub id: u32,
    pub sysdatetime: NaiveDateTime,
    pub doors: Vec<bool>,
    pub buttons: Vec<bool>,
    pub relays: u8,
    pub inputs: u8,
    pub syserror: bool,
    pub info: bool,
    pub seqno: u32,
    pub event: Option<Event>,
}
Expand description

Status of a Device

Fields

id: u32sysdatetime: NaiveDateTimedoors: Vec<bool>buttons: Vec<bool>relays: u8inputs: u8syserror: boolinfo: boolseqno: u32event: Option<Event>

Trait Implementations

Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.