pub struct NodesStopallRequest {
pub force_stop: Option<PveBoolean>,
pub max_workers: Option<i32>,
pub timeout: Option<i32>,
pub vms: Option<String>,
}Fields§
§force_stop: Option<PveBoolean>Force a hard-stop after the timeout.
max_workers: Option<i32>Defines the maximum number of tasks running concurrently. If not set, uses ‘max_workers’ from datacenter.cfg, and if that’s not set, the available CPU threads, clamped to a maximum of 8, are used.
timeout: Option<i32>Timeout for each guest shutdown task. Depending on force-stop, the shutdown gets then simply aborted or a hard-stop is forced.
vms: Option<String>Only consider Guests with these IDs.
Implementations§
Source§impl NodesStopallRequest
impl NodesStopallRequest
pub fn new() -> NodesStopallRequest
Trait Implementations§
Source§impl Clone for NodesStopallRequest
impl Clone for NodesStopallRequest
Source§fn clone(&self) -> NodesStopallRequest
fn clone(&self) -> NodesStopallRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodesStopallRequest
impl Debug for NodesStopallRequest
Source§impl Default for NodesStopallRequest
impl Default for NodesStopallRequest
Source§fn default() -> NodesStopallRequest
fn default() -> NodesStopallRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesStopallRequest
impl<'de> Deserialize<'de> for NodesStopallRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NodesStopallRequest
impl PartialEq for NodesStopallRequest
Source§fn eq(&self, other: &NodesStopallRequest) -> bool
fn eq(&self, other: &NodesStopallRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodesStopallRequest
impl Serialize for NodesStopallRequest
impl StructuralPartialEq for NodesStopallRequest
Auto Trait Implementations§
impl Freeze for NodesStopallRequest
impl RefUnwindSafe for NodesStopallRequest
impl Send for NodesStopallRequest
impl Sync for NodesStopallRequest
impl Unpin for NodesStopallRequest
impl UnsafeUnpin for NodesStopallRequest
impl UnwindSafe for NodesStopallRequest
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