pub struct PlanRequest {
pub start: PlanState,
pub goal: PlanState,
pub budget: PlanBudget,
pub strategy_hint: Option<PlanStrategy>,
pub session_filter: Option<Vec<WireSessionId>>,
pub request_id: Option<WireUuid>,
pub txn_id: Option<WireUuid>,
pub trace: bool,
pub act_as: Option<ActAs>,
}Expand description
PLAN (0x0022).
Fields§
§start: PlanState§goal: PlanState§budget: PlanBudget§strategy_hint: Option<PlanStrategy>§session_filter: Option<Vec<WireSessionId>>§request_id: Option<WireUuid>§txn_id: Option<WireUuid>§trace: boolOpt-in per-stage observability. When true, the final response frame
carries a populated trace: PlanTrace describing every node the
bidirectional BFS visited (in both directions) and every meeting
point found, including the ones dropped by the max_paths cap. When
false (the default) the field is absent and the plan pays nothing.
Mirrors RecallRequest.trace.
act_as: Option<ActAs>Effective identity this plan runs as. None (omitted on the wire)
means the op runs as the connection’s own key-bound identity.
Trait Implementations§
Source§impl Clone for PlanRequest
impl Clone for PlanRequest
Source§impl Debug for PlanRequest
impl Debug for PlanRequest
Source§impl<'de> Deserialize<'de> for PlanRequest
impl<'de> Deserialize<'de> for PlanRequest
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
Source§impl PartialEq for PlanRequest
impl PartialEq for PlanRequest
Source§impl Serialize for PlanRequest
impl Serialize for PlanRequest
impl StructuralPartialEq for PlanRequest
Auto Trait Implementations§
impl Freeze for PlanRequest
impl RefUnwindSafe for PlanRequest
impl Send for PlanRequest
impl Sync for PlanRequest
impl Unpin for PlanRequest
impl UnsafeUnpin for PlanRequest
impl UnwindSafe for PlanRequest
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