pub struct FrontMatter {
pub title: String,
pub subtitle: String,
pub cover_step: Option<String>,
pub parts_list: bool,
pub tools_list: bool,
}Expand description
The cover and the lists before the steps.
Fields§
§title: String§subtitle: String§cover_step: Option<String>The step whose view is the cover picture; the last step when absent.
parts_list: bool§tools_list: boolTrait Implementations§
Source§impl Clone for FrontMatter
impl Clone for FrontMatter
Source§impl Debug for FrontMatter
impl Debug for FrontMatter
Source§impl Default for FrontMatter
impl Default for FrontMatter
Source§impl<'de> Deserialize<'de> for FrontMatter
impl<'de> Deserialize<'de> for FrontMatter
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
Source§impl PartialEq for FrontMatter
impl PartialEq for FrontMatter
Source§impl Serialize for FrontMatter
impl Serialize for FrontMatter
impl StructuralPartialEq for FrontMatter
Auto Trait Implementations§
impl Forget for FrontMatter
impl Freeze for FrontMatter
impl Move for FrontMatter
impl RefUnwindSafe for FrontMatter
impl Send for FrontMatter
impl Sync for FrontMatter
impl Unpin for FrontMatter
impl UnsafeUnpin for FrontMatter
impl UnwindSafe for FrontMatter
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