pub enum ProjectsPrepared {
Ready {
prose: String,
plan: DeployProjectsResult,
},
Unchanged(DeployProjectsResult),
}Expand description
What deploy_projects_prepare decided.
Variants§
Ready
The gateway would change (create, import or record): the plan
and the prose the confirmation refusal carries.
Fields
§
prose: StringThe confirmation prose: the action, project, gateway, environment,
release, member counts, the removed paths and artifact_sha256.
§
plan: DeployProjectsResultThe plan; its outcome is the one the action leads to when it
verifies.
Unchanged(DeployProjectsResult)
Nothing to do (skip): outcome skipped. Returned before any session
write, and no .ign/ directory is created.
Implementations§
Source§impl ProjectsPrepared
impl ProjectsPrepared
Sourcepub fn into_check_result(self) -> DeployProjectsResult
pub fn into_check_result(self) -> DeployProjectsResult
The --check result: the plan with check true and outcome
checked. Nothing was written.
Trait Implementations§
Source§impl Clone for ProjectsPrepared
impl Clone for ProjectsPrepared
Auto Trait Implementations§
impl Freeze for ProjectsPrepared
impl RefUnwindSafe for ProjectsPrepared
impl Send for ProjectsPrepared
impl Sync for ProjectsPrepared
impl Unpin for ProjectsPrepared
impl UnsafeUnpin for ProjectsPrepared
impl UnwindSafe for ProjectsPrepared
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