pub struct ConfigPruneCreatePruneRequest {Show 13 fields
pub comment: Option<String>,
pub disable: Option<bool>,
pub id: String,
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: String,
pub store: String,
}Fields§
§comment: Option<String>Comment.
disable: Option<bool>Disable this job.
id: StringJob ID.
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: StringRun prune job at specified schedule.
store: StringDatastore name.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigPruneCreatePruneRequest
impl Clone for ConfigPruneCreatePruneRequest
Source§fn clone(&self) -> ConfigPruneCreatePruneRequest
fn clone(&self) -> ConfigPruneCreatePruneRequest
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 ConfigPruneCreatePruneRequest
impl Default for ConfigPruneCreatePruneRequest
Source§fn default() -> ConfigPruneCreatePruneRequest
fn default() -> ConfigPruneCreatePruneRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigPruneCreatePruneRequest
impl<'de> Deserialize<'de> for ConfigPruneCreatePruneRequest
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 ConfigPruneCreatePruneRequest
impl PartialEq for ConfigPruneCreatePruneRequest
Source§fn eq(&self, other: &ConfigPruneCreatePruneRequest) -> bool
fn eq(&self, other: &ConfigPruneCreatePruneRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigPruneCreatePruneRequest
Auto Trait Implementations§
impl Freeze for ConfigPruneCreatePruneRequest
impl RefUnwindSafe for ConfigPruneCreatePruneRequest
impl Send for ConfigPruneCreatePruneRequest
impl Sync for ConfigPruneCreatePruneRequest
impl Unpin for ConfigPruneCreatePruneRequest
impl UnsafeUnpin for ConfigPruneCreatePruneRequest
impl UnwindSafe for ConfigPruneCreatePruneRequest
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