pub struct UpgradeResult {
pub service: String,
pub diff: DiffResult,
pub steps: Vec<Step>,
pub backup_dir: Option<PathBuf>,
pub planned_files: BTreeMap<PathBuf, String>,
pub force_apply: bool,
}Fields§
§service: String§diff: DiffResult§steps: Vec<Step>§backup_dir: Option<PathBuf>None when no files would be overwritten or removed.
planned_files: BTreeMap<PathBuf, String>§force_apply: boolApply even when the config diff is clean. True for native services: a
source rebuild isn’t visible in the rendered config, so the plan must
still run (the SyncBinary step then no-ops if the binary is unchanged).
Auto Trait Implementations§
impl Freeze for UpgradeResult
impl RefUnwindSafe for UpgradeResult
impl Send for UpgradeResult
impl Sync for UpgradeResult
impl Unpin for UpgradeResult
impl UnsafeUnpin for UpgradeResult
impl UnwindSafe for UpgradeResult
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