Struct uhppote_rs::Status
source · [−]pub struct Status {
pub device_id: u32,
pub system_time: NaiveTime,
pub system_date: NaiveDate,
pub doors: Vec<bool>,
pub buttons: Vec<bool>,
pub relay_state: u8,
pub input_state: u8,
pub system_error: u8,
pub special_info: u8,
pub sequence_number: u32,
pub last_event: Option<Event>,
}
Expand description
Status of a [Device
]
Fields
device_id: u32
system_time: NaiveTime
system_date: NaiveDate
doors: Vec<bool>
relay_state: u8
input_state: u8
system_error: u8
special_info: u8
sequence_number: u32
last_event: Option<Event>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more