Struct uhppote_rs::Status
source · [−]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: u32
sysdatetime: NaiveDateTime
doors: Vec<bool>
relays: u8
inputs: u8
syserror: bool
info: bool
seqno: u32
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