pub struct Ctx<'a> {Show 13 fields
pub cfg: &'a QaConfig,
pub engine: Option<EngineTarget>,
pub ui_binary: Option<PathBuf>,
pub ws: &'a QaWorkspace,
pub tracker: &'a Tracker,
pub scenario: String,
pub data_dir: PathBuf,
pub log_dir: PathBuf,
pub vars: BTreeMap<String, Value>,
pub sidecars: BTreeMap<String, Sidecar>,
pub mocks: BTreeMap<String, MockServer>,
pub ui: Option<(Control, Mode)>,
pub artifacts: Vec<(String, PathBuf)>,
/* private fields */
}Fields§
§cfg: &'a QaConfig§engine: Option<EngineTarget>§ui_binary: Option<PathBuf>§ws: &'a QaWorkspace§tracker: &'a Tracker§scenario: String§data_dir: PathBuf§log_dir: PathBuf§vars: BTreeMap<String, Value>§sidecars: BTreeMap<String, Sidecar>§mocks: BTreeMap<String, MockServer>§ui: Option<(Control, Mode)>§artifacts: Vec<(String, PathBuf)>Files this scenario produced; the runner hashes them into the evidence bundle.
Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for Ctx<'a>
impl<'a> !RefUnwindSafe for Ctx<'a>
impl<'a> !Sync for Ctx<'a>
impl<'a> !UnwindSafe for Ctx<'a>
impl<'a> Send for Ctx<'a>
impl<'a> Unpin for Ctx<'a>
impl<'a> UnsafeUnpin for Ctx<'a>
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