pub struct ConfigPruneGetPruneResponseDataInner {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 ConfigPruneGetPruneResponseDataInner
impl Clone for ConfigPruneGetPruneResponseDataInner
Source§fn clone(&self) -> ConfigPruneGetPruneResponseDataInner
fn clone(&self) -> ConfigPruneGetPruneResponseDataInner
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 ConfigPruneGetPruneResponseDataInner
impl Default for ConfigPruneGetPruneResponseDataInner
Source§fn default() -> ConfigPruneGetPruneResponseDataInner
fn default() -> ConfigPruneGetPruneResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigPruneGetPruneResponseDataInner
impl<'de> Deserialize<'de> for ConfigPruneGetPruneResponseDataInner
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 ConfigPruneGetPruneResponseDataInner
impl PartialEq for ConfigPruneGetPruneResponseDataInner
Source§fn eq(&self, other: &ConfigPruneGetPruneResponseDataInner) -> bool
fn eq(&self, other: &ConfigPruneGetPruneResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigPruneGetPruneResponseDataInner
Auto Trait Implementations§
impl Freeze for ConfigPruneGetPruneResponseDataInner
impl RefUnwindSafe for ConfigPruneGetPruneResponseDataInner
impl Send for ConfigPruneGetPruneResponseDataInner
impl Sync for ConfigPruneGetPruneResponseDataInner
impl Unpin for ConfigPruneGetPruneResponseDataInner
impl UnsafeUnpin for ConfigPruneGetPruneResponseDataInner
impl UnwindSafe for ConfigPruneGetPruneResponseDataInner
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