pub struct PlanResponseFrame {
pub steps: Vec<PlanStep>,
pub is_final: bool,
pub plan_status: Option<PlanStatus>,
pub trace: Option<PlanTrace>,
}Expand description
One streaming PLAN_RESP frame (0x00A2). The last frame carries
is_final = true and a populated plan_status.
Fields§
§steps: Vec<PlanStep>§is_final: bool§plan_status: Option<PlanStatus>§trace: Option<PlanTrace>Per-stage bidirectional-search trace. Populated only on the final
frame and only when the request set trace = true; None otherwise
(and omitted from the wire map so trace = false plans pay
nothing). Mirrors RecallResponseFrame.trace.
Trait Implementations§
Source§impl Clone for PlanResponseFrame
impl Clone for PlanResponseFrame
Source§impl Debug for PlanResponseFrame
impl Debug for PlanResponseFrame
Source§impl<'de> Deserialize<'de> for PlanResponseFrame
impl<'de> Deserialize<'de> for PlanResponseFrame
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 PlanResponseFrame
impl PartialEq for PlanResponseFrame
Source§impl Serialize for PlanResponseFrame
impl Serialize for PlanResponseFrame
impl StructuralPartialEq for PlanResponseFrame
Auto Trait Implementations§
impl Freeze for PlanResponseFrame
impl RefUnwindSafe for PlanResponseFrame
impl Send for PlanResponseFrame
impl Sync for PlanResponseFrame
impl Unpin for PlanResponseFrame
impl UnsafeUnpin for PlanResponseFrame
impl UnwindSafe for PlanResponseFrame
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