pub struct Page {
pub id: PageId,
pub title: String,
pub updated_at: Option<DateTime<FixedOffset>>,
pub tags: Vec<String>,
pub content: Vec<Node>,
}Expand description
Fully parsed page content.
Fields§
§id: PageIdCanonical page id.
title: StringPage title.
updated_at: Option<DateTime<FixedOffset>>Last edit timestamp, if present.
Page tags.
content: Vec<Node>Parsed block-level content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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