pub enum Event {
Run {
utc: String,
session: String,
executed: bool,
},
Step {
utc: String,
index: usize,
summary: String,
outcome: StepOutcome,
points: Vec<ResolvedPoint>,
elapsed_ms: u64,
detail: Option<String>,
},
}Expand description
One line of the log.
Variants§
Run
Opens a run. Everything after it, until the next run, belongs to
this one.
Fields
Step
One step, after it finished.
Fields
§
outcome: StepOutcome§
points: Vec<ResolvedPoint>Where the input actually went, after space conversion. The saved coordinate is in the session; this is the one that was sent, and the only one worth having when a run went wrong.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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 StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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