pub struct PutParams {
pub allow_move: Option<bool>,
pub comment: Option<String>,
pub delete: Option<bool>,
pub poolid: String,
pub storage: Option<String>,
pub vms: Option<String>,
pub additional_properties: HashMap<String, Value>,
}Fields§
§allow_move: Option<bool>Allow adding a guest even if already in another pool. The guest will be removed from its current pool and added to this one.
comment: Option<String>§delete: Option<bool>Remove the passed VMIDs and/or storage IDs instead of adding them.
poolid: String§storage: Option<String>List of storage IDs to add or remove from this pool.
vms: Option<String>List of guest VMIDs to add or remove from this pool.
additional_properties: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PutParams
impl<'de> Deserialize<'de> for PutParams
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
Auto Trait Implementations§
impl Freeze for PutParams
impl RefUnwindSafe for PutParams
impl Send for PutParams
impl Sync for PutParams
impl Unpin for PutParams
impl UnwindSafe for PutParams
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