pub struct ApplyPowerParams {
pub action: PowerAction,
pub xnames: Vec<String>,
pub force: bool,
}Expand description
Typed parameters for the power-action service call.
Fields§
§action: PowerActionPower operation to perform on every entry in xnames.
xnames: Vec<String>Resolved list of xnames (already expanded from any HSM-group or hostlist expression by the caller).
force: boolWhen true, perform a hard power off / reset without the graceful shutdown path.
Auto Trait Implementations§
impl Freeze for ApplyPowerParams
impl RefUnwindSafe for ApplyPowerParams
impl Send for ApplyPowerParams
impl Sync for ApplyPowerParams
impl Unpin for ApplyPowerParams
impl UnsafeUnpin for ApplyPowerParams
impl UnwindSafe for ApplyPowerParams
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