pub struct SuspendallClient<T> { /* private fields */ }Implementations§
Source§impl<T> SuspendallClient<T>where
T: Client,
impl<T> SuspendallClient<T>where
T: Client,
Source§impl<T> SuspendallClient<T>where
T: Client,
impl<T> SuspendallClient<T>where
T: Client,
Sourcepub async fn post(&self, params: PostParams) -> Result<String, T::Error>
pub async fn post(&self, params: PostParams) -> Result<String, T::Error>
Suspend all VMs.
The ‘VM.PowerMgmt’ permission is required on ‘/’ or on ‘/vms/<ID>’ for each ID passed via the ‘vms’ parameter. Additionally, you need ‘VM.Config.Disk’ on the ‘/vms/{vmid}’ path and ‘Datastore.AllocateSpace’ for the configured state-storage(s)
Trait Implementations§
Source§impl<T: Clone> Clone for SuspendallClient<T>
impl<T: Clone> Clone for SuspendallClient<T>
Source§fn clone(&self) -> SuspendallClient<T>
fn clone(&self) -> SuspendallClient<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for SuspendallClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for SuspendallClient<T>where
T: RefUnwindSafe,
impl<T> Send for SuspendallClient<T>where
T: Send,
impl<T> Sync for SuspendallClient<T>where
T: Sync,
impl<T> Unpin for SuspendallClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for SuspendallClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SuspendallClient<T>where
T: UnwindSafe,
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