pub struct ExtraPage {
pub name: String,
pub content: String,
}
Expand description
Used to document what global instances get made by the module
Fields§
§name: String
The name of the extra page
content: String
The markdown content of the extra page.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ExtraPage
impl<'de> Deserialize<'de> for ExtraPage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ExtraPage
impl Send for ExtraPage
impl Sync for ExtraPage
impl Unpin for ExtraPage
impl UnwindSafe for ExtraPage
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