pub struct PutParams {
pub force: Option<bool>,
pub idlist: String,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§force: Option<bool>
Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called ‘unused[n]’, which contains the volume ID. Unlink of unused[n] always cause physical removal.
idlist: String
A list of disk IDs you want to delete.
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