pub struct Note {
pub name: String,
pub path: PathBuf,
pub created: SystemTime,
}Expand description
Represents a single note (Markdown file) within a vault.
Fields§
§name: StringThe base filename without .md extension.
path: PathBufFilesystem path to the .md file.
created: SystemTimeFile creation time.
TODO: Use chrono or time crates for better time format handling
Implementations§
Source§impl Note
impl Note
Trait Implementations§
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Freeze for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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