pub struct WarmReport {
pub restored: Option<Restored>,
pub present: Vec<String>,
pub save_ms: Option<u64>,
pub background: bool,
}Expand description
What warm state did for one run of a task.
Fields§
§restored: Option<Restored>What was restored before the run, if anything.
present: Vec<String>The groups already on disk before the run, which were left as they were.
save_ms: Option<u64>How long saving it after the run took, when it was saved before the task reported.
background: boolWhether it was saved in the background, after the task reported.
Trait Implementations§
Source§impl Clone for WarmReport
impl Clone for WarmReport
Source§impl Debug for WarmReport
impl Debug for WarmReport
Source§impl Default for WarmReport
impl Default for WarmReport
Source§impl<'de> Deserialize<'de> for WarmReport
impl<'de> Deserialize<'de> for WarmReport
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
impl Eq for WarmReport
Source§impl PartialEq for WarmReport
impl PartialEq for WarmReport
Source§impl Serialize for WarmReport
impl Serialize for WarmReport
impl StructuralPartialEq for WarmReport
Auto Trait Implementations§
impl Freeze for WarmReport
impl RefUnwindSafe for WarmReport
impl Send for WarmReport
impl Sync for WarmReport
impl Unpin for WarmReport
impl UnsafeUnpin for WarmReport
impl UnwindSafe for WarmReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.