pub struct DraftDrive {
pub outcome: DraftOutcome,
pub seed_reply: Option<String>,
pub plan: Option<Plan>,
}Expand description
drive_draft’s return: the terminal DraftOutcome plus the display
payload a caller needs to reproduce the pre-hoist CLI output exactly —
the seed reply (from the session-start turn) and, on the Approve path,
the approved Plan. The core itself never prints either; it only
avoids dropping them.
Fields§
§outcome: DraftOutcome§seed_reply: Option<String>The orchestrator’s session-start reply, captured before request_plan.
plan: Option<Plan>The approved plan, cloned before it was moved into approve_plan.
None on the NeedsContext, WrongPlan, and PlanAsProse paths.
Trait Implementations§
Source§impl Clone for DraftDrive
impl Clone for DraftDrive
Source§fn clone(&self) -> DraftDrive
fn clone(&self) -> DraftDrive
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 DraftDrive
impl RefUnwindSafe for DraftDrive
impl Send for DraftDrive
impl Sync for DraftDrive
impl Unpin for DraftDrive
impl UnsafeUnpin for DraftDrive
impl UnwindSafe for DraftDrive
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