pub struct LastPowerEvent {
pub ac_failed: bool,
pub power_overload: bool,
pub power_interlock: bool,
pub power_fault: bool,
pub power_on_command: bool,
}Expand description
Last power event flags reported by Get Chassis Status.
Fields§
§ac_failed: boolAC failed.
power_overload: boolPower overload.
power_interlock: boolPower interlock activated.
power_fault: boolPower fault.
power_on_command: boolPower on command issued.
Trait Implementations§
Source§impl Clone for LastPowerEvent
impl Clone for LastPowerEvent
Source§fn clone(&self) -> LastPowerEvent
fn clone(&self) -> LastPowerEvent
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 LastPowerEvent
impl Debug for LastPowerEvent
Source§impl PartialEq for LastPowerEvent
impl PartialEq for LastPowerEvent
impl Copy for LastPowerEvent
impl Eq for LastPowerEvent
impl StructuralPartialEq for LastPowerEvent
Auto Trait Implementations§
impl Freeze for LastPowerEvent
impl RefUnwindSafe for LastPowerEvent
impl Send for LastPowerEvent
impl Sync for LastPowerEvent
impl Unpin for LastPowerEvent
impl UnwindSafe for LastPowerEvent
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