pub struct OutputState {
pub output_number: u8,
pub control_code: OutputControlCode,
pub timer: u16,
}
Expand description
osdp_OUT
Fields§
§output_number: u8
§control_code: OutputControlCode
The requested output state.
timer: u16
A 16 bit timer, in units of 100ms. A zero value means “forever”.
Trait Implementations§
Source§impl Clone for OutputState
impl Clone for OutputState
Source§fn clone(&self) -> OutputState
fn clone(&self) -> OutputState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OutputState
impl Debug for OutputState
Source§impl PartialEq for OutputState
impl PartialEq for OutputState
impl Copy for OutputState
impl Eq for OutputState
impl StructuralPartialEq for OutputState
Auto Trait Implementations§
impl Freeze for OutputState
impl RefUnwindSafe for OutputState
impl Send for OutputState
impl Sync for OutputState
impl Unpin for OutputState
impl UnwindSafe for OutputState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more