pub struct RouteDecision {
pub decision: Decision,
pub taints: Vec<TaintEvent>,
pub args_modified: bool,
pub result_modified: bool,
pub pending: Option<PendingElicitation>,
}Expand description
Full outcome of running all four phases for a route.
Fields§
§decision: Decision§taints: Vec<TaintEvent>Taints accumulated from any phase. Empty unless a pipeline emitted them.
args_modified: boolTrue if any args field was rewritten or omitted.
result_modified: boolTrue if any result field was rewritten or omitted.
pending: Option<PendingElicitation>Set when a phase suspended on an unresolved elicitation. Some
means the host must emit JSON-RPC -32120 (retry) and not
forward — decision is Allow in that case. The host forwards
only when decision is Allow AND pending.is_none(). See
crate::step::PendingElicitation.
Trait Implementations§
Source§impl Clone for RouteDecision
impl Clone for RouteDecision
Source§fn clone(&self) -> RouteDecision
fn clone(&self) -> RouteDecision
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 moreAuto Trait Implementations§
impl Freeze for RouteDecision
impl RefUnwindSafe for RouteDecision
impl Send for RouteDecision
impl Sync for RouteDecision
impl Unpin for RouteDecision
impl UnsafeUnpin for RouteDecision
impl UnwindSafe for RouteDecision
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