pub struct FrontPanelControls {
pub sleep_button_disable_allowed: bool,
pub diag_button_disable_allowed: bool,
pub reset_button_disable_allowed: bool,
pub power_button_disable_allowed: bool,
pub sleep_button_disabled: bool,
pub diag_button_disabled: bool,
pub reset_button_disabled: bool,
pub power_button_disabled: bool,
}Expand description
Optional front panel controls (byte 4) from Get Chassis Status.
Fields§
Sleep button disable is allowed.
Diagnostic button disable is allowed.
Reset button disable is allowed.
Power button disable is allowed.
Sleep button is currently disabled.
Diagnostic button is currently disabled.
Reset button is currently disabled.
Power button is currently disabled.
Trait Implementations§
Source§impl Clone for FrontPanelControls
impl Clone for FrontPanelControls
Source§fn clone(&self) -> FrontPanelControls
fn clone(&self) -> FrontPanelControls
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrontPanelControls
impl Debug for FrontPanelControls
Source§impl PartialEq for FrontPanelControls
impl PartialEq for FrontPanelControls
impl Copy for FrontPanelControls
impl Eq for FrontPanelControls
impl StructuralPartialEq for FrontPanelControls
Auto Trait Implementations§
impl Freeze for FrontPanelControls
impl RefUnwindSafe for FrontPanelControls
impl Send for FrontPanelControls
impl Sync for FrontPanelControls
impl Unpin for FrontPanelControls
impl UnwindSafe for FrontPanelControls
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