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
Source§fn clone(&self) -> PlanContent
fn clone(&self) -> PlanContent
Returns a duplicate of the value. Read more
1.0.0 · 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 PlanContent
impl RefUnwindSafe for PlanContent
impl Send for PlanContent
impl Sync for PlanContent
impl Unpin for PlanContent
impl UnsafeUnpin for PlanContent
impl UnwindSafe for PlanContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more