pub struct DeployContext {
pub env: String,
pub target: DeployTarget,
pub config: ProjectConfig,
pub flags: DeployFlags,
pub mode: DeployMode,
}Expand description
Everything the engine needs; built by CLI, consumed by planner/runner/verifier.
Fields§
§env: String§target: DeployTarget§config: ProjectConfig§flags: DeployFlags§mode: DeployModeImplementations§
Source§impl DeployContext
impl DeployContext
pub fn require_confirmation(&self) -> bool
Trait Implementations§
Source§impl Clone for DeployContext
impl Clone for DeployContext
Source§fn clone(&self) -> DeployContext
fn clone(&self) -> DeployContext
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 moreAuto Trait Implementations§
impl Freeze for DeployContext
impl RefUnwindSafe for DeployContext
impl Send for DeployContext
impl Sync for DeployContext
impl Unpin for DeployContext
impl UnsafeUnpin for DeployContext
impl UnwindSafe for DeployContext
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