pub struct Entry {
pub path: PathBuf,
pub frontmatter: Frontmatter,
pub body: String,
}Expand description
A single entry — one Markdown file in the journal. Tasks and notes coexist freely in the body (bullet-journal style).
Fields§
§path: PathBufAbsolute path to the source .md file.
frontmatter: FrontmatterParsed frontmatter. Defaults to empty if the file has none.
body: StringRaw Markdown body (everything after the frontmatter block).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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