pub struct PageMeta {
pub id: PageId,
pub title: String,
pub title_lower: String,
pub path: PathBuf,
pub updated_at: Option<DateTime<FixedOffset>>,
pub tags: Vec<String>,
}Expand description
Metadata for a page discovered during index scanning.
Fields§
§id: PageIdCanonical page id (preferred key over filename).
title: StringHuman-readable page title.
title_lower: StringPre-computed lowercased title for case-insensitive comparisons.
path: PathBufAbsolute or relative path to the source page file.
updated_at: Option<DateTime<FixedOffset>>Last edit timestamp, if present in source metadata.
Optional page tags extracted from metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageMeta
impl RefUnwindSafe for PageMeta
impl Send for PageMeta
impl Sync for PageMeta
impl Unpin for PageMeta
impl UnsafeUnpin for PageMeta
impl UnwindSafe for PageMeta
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