pub struct PageEntry {
pub route: String,
pub layout: Option<String>,
pub title: Option<String>,
pub sidebar: bool,
pub children: Vec<Block>,
}Expand description
A single page extracted from a ::page block.
Fields§
§route: String§layout: Option<String>§title: Option<String>§children: Vec<Block>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PageEntry
impl RefUnwindSafe for PageEntry
impl Send for PageEntry
impl Sync for PageEntry
impl Unpin for PageEntry
impl UnwindSafe for PageEntry
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