pub struct LxcCloneVmRequest {
pub bwlimit: Option<f64>,
pub description: Option<String>,
pub full: Option<PveBoolean>,
pub hostname: Option<String>,
pub newid: i32,
pub pool: Option<String>,
pub snapname: Option<String>,
pub storage: Option<String>,
pub target: Option<String>,
}Fields§
§bwlimit: Option<f64>Override I/O bandwidth limit (in KiB/s).
description: Option<String>Description for the new CT.
full: Option<PveBoolean>Create a full copy of all disks. This is always done when you clone a normal CT. For CT templates, we try to create a linked clone by default.
hostname: Option<String>Set a hostname for the new CT.
newid: i32VMID for the clone.
pool: Option<String>Add the new CT to the specified pool.
snapname: Option<String>The name of the snapshot.
storage: Option<String>Target storage for full clone.
target: Option<String>Target node. Only allowed if the original VM is on shared storage.
Implementations§
Source§impl LxcCloneVmRequest
impl LxcCloneVmRequest
pub fn new(newid: i32) -> LxcCloneVmRequest
Trait Implementations§
Source§impl Clone for LxcCloneVmRequest
impl Clone for LxcCloneVmRequest
Source§fn clone(&self) -> LxcCloneVmRequest
fn clone(&self) -> LxcCloneVmRequest
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 LxcCloneVmRequest
impl Debug for LxcCloneVmRequest
Source§impl Default for LxcCloneVmRequest
impl Default for LxcCloneVmRequest
Source§fn default() -> LxcCloneVmRequest
fn default() -> LxcCloneVmRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LxcCloneVmRequest
impl<'de> Deserialize<'de> for LxcCloneVmRequest
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 LxcCloneVmRequest
impl PartialEq for LxcCloneVmRequest
Source§fn eq(&self, other: &LxcCloneVmRequest) -> bool
fn eq(&self, other: &LxcCloneVmRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LxcCloneVmRequest
impl Serialize for LxcCloneVmRequest
impl StructuralPartialEq for LxcCloneVmRequest
Auto Trait Implementations§
impl Freeze for LxcCloneVmRequest
impl RefUnwindSafe for LxcCloneVmRequest
impl Send for LxcCloneVmRequest
impl Sync for LxcCloneVmRequest
impl Unpin for LxcCloneVmRequest
impl UnsafeUnpin for LxcCloneVmRequest
impl UnwindSafe for LxcCloneVmRequest
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