pub struct PlanContent {
pub title: String,
pub summary: String,
pub file_path: Option<String>,
pub phases: Vec<PlanPhase>,
pub open_questions: Vec<String>,
pub raw_content: String,
pub total_steps: usize,
pub completed_steps: usize,
}Expand description
Structured plan content for display in the Implementation Blueprint panel.
Fields§
§title: String§summary: String§file_path: Option<String>§phases: Vec<PlanPhase>§open_questions: Vec<String>§raw_content: String§total_steps: usize§completed_steps: usizeImplementations§
Source§impl PlanContent
impl PlanContent
Sourcepub fn from_markdown(
title: String,
content: &str,
file_path: Option<String>,
) -> Self
pub fn from_markdown( title: String, content: &str, file_path: Option<String>, ) -> Self
Parse plan content from markdown.
Sourcepub fn progress_percent(&self) -> u8
pub fn progress_percent(&self) -> u8
Get progress as a percentage.
Trait Implementations§
Source§impl Clone for PlanContent
impl Clone for PlanContent
Auto Trait Implementations§
impl Forget for PlanContent
impl Freeze for PlanContentwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PlanPhase>: Freeze,
PhantomData<String>: Freeze,
impl Move for PlanContent
impl RefUnwindSafe for PlanContent
impl Send for PlanContentwhere
RawVecInner: Send,
impl Sync for PlanContentwhere
RawVecInner: Sync,
impl Unpin for PlanContent
impl UnsafeUnpin for PlanContentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PlanPhase>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for PlanContentwhere
RawVecInner: UnwindSafe,
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