pub struct ParsedSpec {
pub frontmatter_yaml: String,
pub frontmatter: SpecFrontmatter,
pub body: String,
}Expand description
Result of parsing a spec file into frontmatter and body
Fields§
§frontmatter_yaml: String§frontmatter: SpecFrontmatter§body: StringTrait Implementations§
Source§impl Clone for ParsedSpec
impl Clone for ParsedSpec
Source§fn clone(&self) -> ParsedSpec
fn clone(&self) -> ParsedSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedSpec
impl RefUnwindSafe for ParsedSpec
impl Send for ParsedSpec
impl Sync for ParsedSpec
impl Unpin for ParsedSpec
impl UnwindSafe for ParsedSpec
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