pub struct EvalPack {
pub name: String,
pub version: String,
pub domain: String,
pub path: PathBuf,
pub hash: String,
pub tasks: Vec<Task>,
}Fields§
§name: String§version: String§domain: String§path: PathBuf§hash: String§tasks: Vec<Task>Implementations§
Source§impl EvalPack
impl EvalPack
pub fn load(source: &str, base: Option<&Path>) -> Result<EvalPack, Error>
Sourcepub fn check(&self) -> Vec<PackIssue>
pub fn check(&self) -> Vec<PackIssue>
Check that the pack is ready to measure stacks with: required fields set,
prompts and fixtures present, no unfilled PLACEHOLDERs, and tasks that
can fail.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvalPack
impl RefUnwindSafe for EvalPack
impl Send for EvalPack
impl Sync for EvalPack
impl Unpin for EvalPack
impl UnsafeUnpin for EvalPack
impl UnwindSafe for EvalPack
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