pub struct EngineContextPlanRequestV1 {
pub schema_version: u32,
pub transport_version: u32,
pub engine_interface_version: SemanticVersion,
pub task_id: TaskId,
pub query: String,
pub budget_tokens: u32,
pub max_candidates: u16,
}Expand description
Ask the canonical kernel for a reference plan under the host’s local policy. The task ID is correlation only, never an identity or authorization grant.
Fields§
§schema_version: u32§transport_version: u32§engine_interface_version: SemanticVersion§task_id: TaskId§query: String§budget_tokens: u32§max_candidates: u16Implementations§
Source§impl EngineContextPlanRequestV1
impl EngineContextPlanRequestV1
Sourcepub fn validate_payload(&self) -> Result<(), ValidationError>
pub fn validate_payload(&self) -> Result<(), ValidationError>
Validate payload bounds; the receiving transport must also admit versions.
Trait Implementations§
Source§impl Clone for EngineContextPlanRequestV1
impl Clone for EngineContextPlanRequestV1
Source§impl Debug for EngineContextPlanRequestV1
impl Debug for EngineContextPlanRequestV1
Source§impl<'de> Deserialize<'de> for EngineContextPlanRequestV1
impl<'de> Deserialize<'de> for EngineContextPlanRequestV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EngineContextPlanRequestV1
impl StructuralPartialEq for EngineContextPlanRequestV1
Auto Trait Implementations§
impl Freeze for EngineContextPlanRequestV1
impl RefUnwindSafe for EngineContextPlanRequestV1
impl Send for EngineContextPlanRequestV1
impl Sync for EngineContextPlanRequestV1
impl Unpin for EngineContextPlanRequestV1
impl UnsafeUnpin for EngineContextPlanRequestV1
impl UnwindSafe for EngineContextPlanRequestV1
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