pub struct StopHookInfo {
pub command: String,
pub duration_ms: Option<u64>,
pub extras: Extras,
}Expand description
Per-hook entry inside a stop_hook_summary system event (#273).
Wire fields are camelCase (durationMs); the renderer reads
the command text for the expanded body.
Fields§
§command: StringCommand line that fired.
duration_ms: Option<u64>How long the hook took, in milliseconds. Wire field is
durationMs; absent on 2.1.263’s plugin-injected entries.
extras: ExtrasFields of the entry forge does not model, kept verbatim.
Trait Implementations§
Source§impl Clone for StopHookInfo
impl Clone for StopHookInfo
Source§impl Debug for StopHookInfo
impl Debug for StopHookInfo
Source§impl<'de> Deserialize<'de> for StopHookInfo
impl<'de> Deserialize<'de> for StopHookInfo
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 StopHookInfo
Source§impl PartialEq for StopHookInfo
impl PartialEq for StopHookInfo
Source§impl Serialize for StopHookInfo
impl Serialize for StopHookInfo
impl StructuralPartialEq for StopHookInfo
Auto Trait Implementations§
impl Freeze for StopHookInfo
impl RefUnwindSafe for StopHookInfo
impl Send for StopHookInfo
impl Sync for StopHookInfo
impl Unpin for StopHookInfo
impl UnsafeUnpin for StopHookInfo
impl UnwindSafe for StopHookInfo
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.