pub struct HookInvocationOutcome {
pub hook_id: HookId,
pub status: HookInvocationStatus,
pub response_class: Option<HookResponseClass>,
pub journal_cursor: Option<JournalCursor>,
pub journaled_before_apply: bool,
pub record: HookRecord,
}Expand description
Holds hook invocation outcome application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§hook_id: HookIdStable hook id used for typed lineage, lookup, or dedupe.
status: HookInvocationStatusFinite status for this record or lifecycle stage.
response_class: Option<HookResponseClass>Classification value for response class. Policy and projection paths use it for finite routing decisions.
journal_cursor: Option<JournalCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
journaled_before_apply: boolWhether journaled before apply is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
record: HookRecordRecord used by this record or request.
Trait Implementations§
Source§impl Clone for HookInvocationOutcome
impl Clone for HookInvocationOutcome
Source§fn clone(&self) -> HookInvocationOutcome
fn clone(&self) -> HookInvocationOutcome
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 HookInvocationOutcome
impl Debug for HookInvocationOutcome
Source§impl PartialEq for HookInvocationOutcome
impl PartialEq for HookInvocationOutcome
Source§fn eq(&self, other: &HookInvocationOutcome) -> bool
fn eq(&self, other: &HookInvocationOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HookInvocationOutcome
impl StructuralPartialEq for HookInvocationOutcome
Auto Trait Implementations§
impl Freeze for HookInvocationOutcome
impl RefUnwindSafe for HookInvocationOutcome
impl Send for HookInvocationOutcome
impl Sync for HookInvocationOutcome
impl Unpin for HookInvocationOutcome
impl UnsafeUnpin for HookInvocationOutcome
impl UnwindSafe for HookInvocationOutcome
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