pub struct AfterIngest {
pub committed_len: usize,
pub additional_context: Vec<ContentBlock>,
}Expand description
after Ingest: input has been merged into history. Injection only.
Fields§
§committed_len: usize§additional_context: Vec<ContentBlock>Trait Implementations§
Source§impl Clone for AfterIngest
impl Clone for AfterIngest
Source§fn clone(&self) -> AfterIngest
fn clone(&self) -> AfterIngest
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 AfterIngest
impl Debug for AfterIngest
Source§impl HookStep for AfterIngest
impl HookStep for AfterIngest
Source§fn event_name(&self) -> &'static str
fn event_name(&self) -> &'static str
Event name (snake_case). Used in envelope headers and matchers.
Source§fn to_envelope(&self) -> Value
fn to_envelope(&self) -> Value
Projects the step into an input envelope — fed to command stdin / prompt
templates. Contains a common header plus step-specific fields.
Source§fn apply_verdict(
&mut self,
verdict: &Value,
) -> Result<HookControl, VerdictError>
fn apply_verdict( &mut self, verdict: &Value, ) -> Result<HookControl, VerdictError>
Apply the handler’s output verdict (JSON) back to this step: parse the common
control / additional_context fields, then handle the step-specific “fill
output” fields. Returns a control directive. Read moreAuto Trait Implementations§
impl Freeze for AfterIngest
impl RefUnwindSafe for AfterIngest
impl Send for AfterIngest
impl Sync for AfterIngest
impl Unpin for AfterIngest
impl UnsafeUnpin for AfterIngest
impl UnwindSafe for AfterIngest
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