pub struct CommandRun {
pub id: &'static str,
pub ok: bool,
pub took: Duration,
}Expand description
One top-level command that ran, as the chokepoint saw it: the registered id (a fixed program string, never its parameters), whether it succeeded and how long its body took.
Fields§
§id: &'static str§ok: bool§took: DurationTrait Implementations§
Source§impl Clone for CommandRun
impl Clone for CommandRun
impl Copy for CommandRun
Source§impl Debug for CommandRun
impl Debug for CommandRun
Source§impl PartialEq for CommandRun
impl PartialEq for CommandRun
impl StructuralPartialEq for CommandRun
Auto Trait Implementations§
impl Freeze for CommandRun
impl RefUnwindSafe for CommandRun
impl Send for CommandRun
impl Sync for CommandRun
impl Unpin for CommandRun
impl UnsafeUnpin for CommandRun
impl UnwindSafe for CommandRun
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