pub struct DryRunContext<'a> {Show 14 fields
pub workflow: &'a Workflow,
pub workflow_path: &'a Path,
pub workflow_dir: &'a Path,
pub vars: &'a HashMap<String, String>,
pub user_prompt: Option<&'a str>,
pub roles: &'a HashMap<String, Role>,
pub resources: &'a ResourceCollector<'a>,
pub memory: &'a MemoryCollector,
pub storage: &'a StorageManager,
pub wf_provider: Option<&'a str>,
pub wf_model: Option<&'a str>,
pub disable_resources: bool,
pub disable_memory: bool,
pub disable_storage: bool,
}Expand description
Inputs print_plan needs to build the plan. Mirrors the state
execute() has assembled just before it would open a session log.
Fields§
§workflow: &'a Workflow§workflow_path: &'a Path§workflow_dir: &'a Path§vars: &'a HashMap<String, String>§user_prompt: Option<&'a str>§roles: &'a HashMap<String, Role>§resources: &'a ResourceCollector<'a>§memory: &'a MemoryCollector§storage: &'a StorageManager§wf_provider: Option<&'a str>§wf_model: Option<&'a str>§disable_resources: bool§disable_memory: bool§disable_storage: boolAuto Trait Implementations§
impl<'a> Freeze for DryRunContext<'a>
impl<'a> !RefUnwindSafe for DryRunContext<'a>
impl<'a> Send for DryRunContext<'a>
impl<'a> Sync for DryRunContext<'a>
impl<'a> Unpin for DryRunContext<'a>
impl<'a> UnsafeUnpin for DryRunContext<'a>
impl<'a> !UnwindSafe for DryRunContext<'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