Struct Tool Execution Intercept Outcome
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct ToolExecutionInterceptOutcome {
pub result: Json,
pub pending_marks: Vec<PendingMarkSpec>,
}
Canonical result returned by a tool execution intercept.
result is passed to the remaining middleware and application. pending_marks are Relay-owned lifecycle metadata retained separately and emitted after the tool-end event; they are not included in the application-visible result.
Fields
result: Json
Tool result returned to the remaining middleware and application.
pending_marks: Vec<PendingMarkSpec>
Ordered marks for the managed tool lifecycle owner to emit.
Implementations
impl ToolExecutionInterceptOutcome
impl ToolExecutionInterceptOutcome
new
pub fn new(result: Json) -> Self
Create an outcome without pending marks.
with_pending_mark
pub fn with_pending_mark(self, mark: PendingMarkSpec) -> Self
Append one pending mark while preserving callback order.
Trait Implementations
impl Clone for ToolExecutionInterceptOutcome
impl Clone for ToolExecutionInterceptOutcome
clone
fn clone(&self) -> ToolExecutionInterceptOutcome
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ToolExecutionInterceptOutcome
impl Debug for ToolExecutionInterceptOutcome
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for ToolExecutionInterceptOutcome
impl<'de> Deserialize<'de> for ToolExecutionInterceptOutcome
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl From<Value> for ToolExecutionInterceptOutcome
impl From<Value> for ToolExecutionInterceptOutcome
from
fn from(result: Json) -> Self
impl PartialEq for ToolExecutionInterceptOutcome
impl PartialEq for ToolExecutionInterceptOutcome
eq
fn eq(&self, other: &ToolExecutionInterceptOutcome) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for ToolExecutionInterceptOutcome
impl Serialize for ToolExecutionInterceptOutcome
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for ToolExecutionInterceptOutcome
impl StructuralPartialEq for ToolExecutionInterceptOutcome