pub struct AdminPruneGetPruneResponseDataInner {Show 17 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 last_run_endtime: Option<i64>,
pub last_run_state: Option<String>,
pub last_run_upid: Option<String>,
pub max_depth: Option<i32>,
pub next_run: Option<i64>,
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.
last_run_endtime: Option<i64>Endtime of the last run.
last_run_state: Option<String>Result of the last run.
last_run_upid: Option<String>Task UPID of the last run.
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)
next_run: Option<i64>Estimated time of the next run (UNIX epoch).
ns: Option<String>Namespace.
schedule: StringRun prune job at specified schedule.
store: StringDatastore name.
Implementations§
Trait Implementations§
Source§impl Clone for AdminPruneGetPruneResponseDataInner
impl Clone for AdminPruneGetPruneResponseDataInner
Source§fn clone(&self) -> AdminPruneGetPruneResponseDataInner
fn clone(&self) -> AdminPruneGetPruneResponseDataInner
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 AdminPruneGetPruneResponseDataInner
impl Default for AdminPruneGetPruneResponseDataInner
Source§fn default() -> AdminPruneGetPruneResponseDataInner
fn default() -> AdminPruneGetPruneResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdminPruneGetPruneResponseDataInner
impl<'de> Deserialize<'de> for AdminPruneGetPruneResponseDataInner
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 AdminPruneGetPruneResponseDataInner
impl PartialEq for AdminPruneGetPruneResponseDataInner
Source§fn eq(&self, other: &AdminPruneGetPruneResponseDataInner) -> bool
fn eq(&self, other: &AdminPruneGetPruneResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdminPruneGetPruneResponseDataInner
Auto Trait Implementations§
impl Freeze for AdminPruneGetPruneResponseDataInner
impl RefUnwindSafe for AdminPruneGetPruneResponseDataInner
impl Send for AdminPruneGetPruneResponseDataInner
impl Sync for AdminPruneGetPruneResponseDataInner
impl Unpin for AdminPruneGetPruneResponseDataInner
impl UnsafeUnpin for AdminPruneGetPruneResponseDataInner
impl UnwindSafe for AdminPruneGetPruneResponseDataInner
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