pub struct Plan {
pub file_stem: String,
pub title: Option<String>,
pub file_path: PathBuf,
pub content: String,
}Expand description
Full plan record returned by PlansRoot::get.
Fields§
§file_stem: StringFile stem (the basename of <stem>.md).
title: Option<String>The first # heading in the document, when present.
file_path: PathBufAbsolute path to the source .md.
content: StringThe full markdown content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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