pub struct MaintenanceSchedule {
pub next_full_maintenance: Option<DateTime<Utc>>,
pub next_quick_maintenance: Option<DateTime<Utc>>,
}Expand description
The schedule block: when maintenance next runs. The detailed per-task
runs history is left as a raw value (its shape is large and unstable).
Fields§
§next_full_maintenance: Option<DateTime<Utc>>Next scheduled full maintenance, if known.
next_quick_maintenance: Option<DateTime<Utc>>Next scheduled quick maintenance, if known.
Trait Implementations§
Source§impl Clone for MaintenanceSchedule
impl Clone for MaintenanceSchedule
Source§fn clone(&self) -> MaintenanceSchedule
fn clone(&self) -> MaintenanceSchedule
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 Debug for MaintenanceSchedule
impl Debug for MaintenanceSchedule
Source§impl<'de> Deserialize<'de> for MaintenanceSchedule
impl<'de> Deserialize<'de> for MaintenanceSchedule
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 MaintenanceSchedule
impl PartialEq for MaintenanceSchedule
Source§fn eq(&self, other: &MaintenanceSchedule) -> bool
fn eq(&self, other: &MaintenanceSchedule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaintenanceSchedule
impl Serialize for MaintenanceSchedule
impl StructuralPartialEq for MaintenanceSchedule
Auto Trait Implementations§
impl Freeze for MaintenanceSchedule
impl RefUnwindSafe for MaintenanceSchedule
impl Send for MaintenanceSchedule
impl Sync for MaintenanceSchedule
impl Unpin for MaintenanceSchedule
impl UnsafeUnpin for MaintenanceSchedule
impl UnwindSafe for MaintenanceSchedule
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