pub struct Interruption {
pub cause: InterruptionCause,
pub from: String,
pub to: String,
}Expand description
A span of a command’s run during which the machine was asleep or offline.
The times are wall-clock times of day in the machine’s local time zone, exactly as the model reads them.
Fields§
§cause: InterruptionCauseWhat was unavailable.
from: StringWhen the span began, or when the command started if it began earlier.
to: StringWhen the span ended, or when the command ended if it ended earlier.
Trait Implementations§
Source§impl Clone for Interruption
impl Clone for Interruption
Source§impl Debug for Interruption
impl Debug for Interruption
Source§impl<'de> Deserialize<'de> for Interruption
impl<'de> Deserialize<'de> for Interruption
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 Interruption
Source§impl PartialEq for Interruption
impl PartialEq for Interruption
Source§impl Serialize for Interruption
impl Serialize for Interruption
impl StructuralPartialEq for Interruption
Auto Trait Implementations§
impl Freeze for Interruption
impl RefUnwindSafe for Interruption
impl Send for Interruption
impl Sync for Interruption
impl Unpin for Interruption
impl UnsafeUnpin for Interruption
impl UnwindSafe for Interruption
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