pub struct ConfigPruneUpdatePruneRequest {Show 14 fields
pub comment: Option<String>,
pub delete: Option<Vec<PbsConfigPruneInlineEnum>>,
pub digest: Option<String>,
pub disable: Option<bool>,
pub keep_daily: Option<i64>,
pub keep_hourly: Option<i64>,
pub keep_last: Option<i64>,
pub keep_monthly: Option<i64>,
pub keep_weekly: Option<i64>,
pub keep_yearly: Option<i64>,
pub max_depth: Option<i32>,
pub ns: Option<String>,
pub schedule: Option<String>,
pub store: Option<String>,
}Fields§
§comment: Option<String>Comment.
delete: Option<Vec<PbsConfigPruneInlineEnum>>List of properties to delete.
digest: Option<String>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
disable: Option<bool>Disable this job.
keep_daily: Option<i64>Number of daily backups to keep.
keep_hourly: Option<i64>Number of hourly backups to keep.
keep_last: Option<i64>Number of backups to keep.
keep_monthly: Option<i64>Number of monthly backups to keep.
keep_weekly: Option<i64>Number of weekly backups to keep.
keep_yearly: Option<i64>Number of yearly backups to keep.
max_depth: Option<i32>How many levels of namespaces should be operated on (0 == no recursion, empty == automatic full recursion, namespace depths reduce maximum allowed value)
ns: Option<String>Namespace.
schedule: Option<String>Run prune job at specified schedule.
store: Option<String>Datastore name.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigPruneUpdatePruneRequest
impl Clone for ConfigPruneUpdatePruneRequest
Source§fn clone(&self) -> ConfigPruneUpdatePruneRequest
fn clone(&self) -> ConfigPruneUpdatePruneRequest
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 Default for ConfigPruneUpdatePruneRequest
impl Default for ConfigPruneUpdatePruneRequest
Source§fn default() -> ConfigPruneUpdatePruneRequest
fn default() -> ConfigPruneUpdatePruneRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigPruneUpdatePruneRequest
impl<'de> Deserialize<'de> for ConfigPruneUpdatePruneRequest
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 ConfigPruneUpdatePruneRequest
impl PartialEq for ConfigPruneUpdatePruneRequest
Source§fn eq(&self, other: &ConfigPruneUpdatePruneRequest) -> bool
fn eq(&self, other: &ConfigPruneUpdatePruneRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigPruneUpdatePruneRequest
Auto Trait Implementations§
impl Freeze for ConfigPruneUpdatePruneRequest
impl RefUnwindSafe for ConfigPruneUpdatePruneRequest
impl Send for ConfigPruneUpdatePruneRequest
impl Sync for ConfigPruneUpdatePruneRequest
impl Unpin for ConfigPruneUpdatePruneRequest
impl UnsafeUnpin for ConfigPruneUpdatePruneRequest
impl UnwindSafe for ConfigPruneUpdatePruneRequest
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