pub struct PlanEvaluationRequest {
pub plan_id: String,
pub planner_capability_id: String,
pub planner_capability: CapabilityToken,
pub agent_id: String,
pub steps: Vec<PlannedToolCall>,
}Expand description
Request body for POST /evaluate-plan.
Fields§
§plan_id: StringCaller-assigned identifier for this plan. Echoed in the response so the caller can correlate asynchronous evaluations.
planner_capability_id: StringIdentifier of the capability under which every step is evaluated.
Surfaced in the response for audit correlation; the kernel
cross-checks this against the embedded token’s id to reject
mismatched submissions.
planner_capability: CapabilityTokenFull capability token authorising the plan. The kernel must have the signed token in hand to verify signature, delegation, and scope; it does not maintain a capability registry that could be indexed by id alone.
agent_id: StringAgent submitting the plan. Checked against the capability’s
subject binding in the same way as runtime tool calls.
steps: Vec<PlannedToolCall>Ordered list of steps in the plan. Evaluated in submission order but each step evaluated independently.
Trait Implementations§
Source§impl Clone for PlanEvaluationRequest
impl Clone for PlanEvaluationRequest
Source§fn clone(&self) -> PlanEvaluationRequest
fn clone(&self) -> PlanEvaluationRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlanEvaluationRequest
impl Debug for PlanEvaluationRequest
Source§impl<'de> Deserialize<'de> for PlanEvaluationRequest
impl<'de> Deserialize<'de> for PlanEvaluationRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlanEvaluationRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlanEvaluationRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for PlanEvaluationRequest
impl Serialize for PlanEvaluationRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for PlanEvaluationRequest
impl RefUnwindSafe for PlanEvaluationRequest
impl Send for PlanEvaluationRequest
impl Sync for PlanEvaluationRequest
impl Unpin for PlanEvaluationRequest
impl UnsafeUnpin for PlanEvaluationRequest
impl UnwindSafe for PlanEvaluationRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more