pub struct HookExecution {
pub hook_name: String,
pub point: AgentHookPoint,
pub duration_ms: u64,
pub result: HookResult,
}Expand description
One completed handler execution, returned to the engine for observability.
Fields§
§hook_name: String§point: AgentHookPoint§duration_ms: u64§result: HookResultTrait Implementations§
Source§impl Clone for HookExecution
impl Clone for HookExecution
Source§fn clone(&self) -> HookExecution
fn clone(&self) -> HookExecution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HookExecution
impl Debug for HookExecution
impl Eq for HookExecution
Source§impl PartialEq for HookExecution
impl PartialEq for HookExecution
impl StructuralPartialEq for HookExecution
Auto Trait Implementations§
impl Freeze for HookExecution
impl RefUnwindSafe for HookExecution
impl Send for HookExecution
impl Sync for HookExecution
impl Unpin for HookExecution
impl UnsafeUnpin for HookExecution
impl UnwindSafe for HookExecution
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.