pub struct DeployRollbackResult {Show 14 fields
pub env: String,
pub gateway: String,
pub mode: String,
pub run_id: String,
pub target_run_id: String,
pub run_dir: String,
pub outcome: RollbackKind,
pub ok: bool,
pub restored: Vec<String>,
pub deleted: Vec<String>,
pub discarded_live_changes: Vec<String>,
pub warnings: Vec<String>,
pub restart_pending: Vec<String>,
pub restart_pending_new: Vec<String>,
}Expand description
The ign deploy rollback result (the envelope’s data).
Fields§
§env: StringThe --env value.
gateway: StringGateway directory name from the target.
mode: StringDeployment mode from the target.
run_id: StringThis rollback’s own run id.
target_run_id: StringThe run that was rolled back (--run).
run_dir: StringThis rollback’s run directory.
outcome: RollbackKindrestored.
ok: boolAlways true: a rollback that cannot restore is an error, not a result.
restored: Vec<String>Collection paths put back from the snapshot.
deleted: Vec<String>Collection paths the rolled-back run had created, now removed.
discarded_live_changes: Vec<String>Touched paths that had changed since the run and were overwritten;
[] when none (never null).
warnings: Vec<String>Engine warnings.
restart_pending: Vec<String>The pending restarts after the rollback; [] when none (never null).
restart_pending_new: Vec<String>The pending restarts the rollback added; [] when none (never null).
Trait Implementations§
Source§impl Clone for DeployRollbackResult
impl Clone for DeployRollbackResult
Source§impl Debug for DeployRollbackResult
impl Debug for DeployRollbackResult
Source§impl PartialEq for DeployRollbackResult
impl PartialEq for DeployRollbackResult
Source§impl Serialize for DeployRollbackResult
impl Serialize for DeployRollbackResult
impl StructuralPartialEq for DeployRollbackResult
Auto Trait Implementations§
impl Freeze for DeployRollbackResult
impl RefUnwindSafe for DeployRollbackResult
impl Send for DeployRollbackResult
impl Sync for DeployRollbackResult
impl Unpin for DeployRollbackResult
impl UnsafeUnpin for DeployRollbackResult
impl UnwindSafe for DeployRollbackResult
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