pub struct ComputerSystemResetAction {
pub reset_type: Option<ResetType>,
}Expand description
This action resets the system.
This action shall reset the system represented by the resource. For systems that implement ACPI
Power Button functionality, the PushPowerButton value shall perform or emulate an ACPI Power
Button Push, and the ForceOff value shall perform an ACPI Power Button Override, commonly known
as a four-second hold of the power button.
Fields§
§reset_type: Option<ResetType>The type of reset.
This parameter shall contain the type of reset. The service can accept a request without the
parameter and perform an implementation-specific default reset. Services should include the
@Redfish.AllowableValues annotation for this parameter to ensure compatibility with clients, even
when ActionInfo has been implemented.
Trait Implementations§
Source§impl Debug for ComputerSystemResetAction
impl Debug for ComputerSystemResetAction
Auto Trait Implementations§
impl Freeze for ComputerSystemResetAction
impl RefUnwindSafe for ComputerSystemResetAction
impl Send for ComputerSystemResetAction
impl Sync for ComputerSystemResetAction
impl Unpin for ComputerSystemResetAction
impl UnsafeUnpin for ComputerSystemResetAction
impl UnwindSafe for ComputerSystemResetAction
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