pub struct RecipeManifest {
pub id: String,
pub title: String,
pub codec: String,
pub setup: String,
pub purpose: String,
pub order: i64,
pub tags: Vec<String>,
pub requires: Vec<String>,
pub expect: Vec<Expectation>,
}Expand description
Parsed recipe.toml.
Fields§
§id: StringStable recipe id (last path segment of the runtime id).
title: StringHuman title.
codec: StringRegistered codec name used to decode the setup file.
setup: StringSetup file name, relative to the recipe directory.
purpose: StringPurpose file name, relative to the recipe directory.
order: i64Sort key within the chapter.
Free tags.
requires: Vec<String>Lib ids that must be loaded for this recipe (owning lib added later).
expect: Vec<Expectation>Declared expectations.
Trait Implementations§
Source§impl Clone for RecipeManifest
impl Clone for RecipeManifest
Source§fn clone(&self) -> RecipeManifest
fn clone(&self) -> RecipeManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecipeManifest
impl Debug for RecipeManifest
impl Eq for RecipeManifest
Source§impl PartialEq for RecipeManifest
impl PartialEq for RecipeManifest
Source§fn eq(&self, other: &RecipeManifest) -> bool
fn eq(&self, other: &RecipeManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecipeManifest
Auto Trait Implementations§
impl Freeze for RecipeManifest
impl RefUnwindSafe for RecipeManifest
impl Send for RecipeManifest
impl Sync for RecipeManifest
impl Unpin for RecipeManifest
impl UnsafeUnpin for RecipeManifest
impl UnwindSafe for RecipeManifest
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