Struct proxmox_api::nodes::node::storage::storage::prunebackups::GetParams
source · pub struct GetParams {
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 consider backups for this guest.
additional_properties: HashMap<String, Value>
Trait Implementations§
source§impl<'de> Deserialize<'de> for GetParams
impl<'de> Deserialize<'de> for GetParams
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 GetParams
impl RefUnwindSafe for GetParams
impl Send for GetParams
impl Sync for GetParams
impl Unpin for GetParams
impl UnwindSafe for GetParams
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