pub struct Step {
pub provider_id: String,
pub provider_name: String,
pub resource: ResourceKind,
pub canonical: RelPath,
pub target: RelPath,
pub outcome: Outcome,
pub note: Option<String>,
pub import_body: Option<String>,
}Expand description
One decision.
Fields§
§provider_id: String§provider_name: String§resource: ResourceKind§canonical: RelPath§target: RelPath§outcome: Outcome§note: Option<String>§import_body: Option<String>Exact bytes to write when this step materialises an import stub.
Rendered during planning so that a Step fully describes its own
execution: the executor needs nothing but the plan, which keeps status
and apply provably in agreement about what will happen.
Implementations§
Trait Implementations§
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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