pub struct PageRow {
pub id: i64,
pub slug: String,
pub title: String,
pub file_path: Option<String>,
pub content_hash: Option<String>,
pub is_placeholder: bool,
}Expand description
A row from the pages table.
Fields§
§id: i64§slug: String§title: String§file_path: Option<String>Relative path from vault root (forward slashes). None for placeholders.
content_hash: Option<String>SHA-256 hex digest of file content. None for placeholders.
is_placeholder: boolTrue if this page was auto-created as a link target with no backing file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageRow
impl RefUnwindSafe for PageRow
impl Send for PageRow
impl Sync for PageRow
impl Unpin for PageRow
impl UnsafeUnpin for PageRow
impl UnwindSafe for PageRow
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