pub struct Run {
pub started_at: String,
pub ended_at: Option<String>,
pub duration_ms: Option<u64>,
pub capabilities: Option<Capabilities>,
}Expand description
Information about the run timing.
Fields§
§started_at: StringISO 8601 timestamp when the run started.
ended_at: Option<String>ISO 8601 timestamp when the run ended.
duration_ms: Option<u64>Duration of the run in milliseconds.
capabilities: Option<Capabilities>Capabilities block for sensor.report.v1 compliance.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
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
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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