pub struct DeleteParams {
pub prune_backups: Option<String>,
pub ty: Option<Type>,
pub vmid: Option<VmId>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§prune_backups: Option<String>
Use these retention options instead of those from the storage configuration.
ty: Option<Type>
Either ‘qemu’ or ‘lxc’. Only consider backups for guests of this type.
vmid: Option<VmId>
Only prune backups for this VM.
additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl Clone for DeleteParams
impl Clone for DeleteParams
Source§fn clone(&self) -> DeleteParams
fn clone(&self) -> DeleteParams
Returns a duplicate of the value. Read more
1.0.0 · 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 DeleteParams
impl Debug for DeleteParams
Source§impl Default for DeleteParams
impl Default for DeleteParams
Source§fn default() -> DeleteParams
fn default() -> DeleteParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteParams
impl<'de> Deserialize<'de> for DeleteParams
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 DeleteParams
impl RefUnwindSafe for DeleteParams
impl Send for DeleteParams
impl Sync for DeleteParams
impl Unpin for DeleteParams
impl UnwindSafe for DeleteParams
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