pub struct DiffResult {
pub service: String,
pub entries: Vec<DiffEntry>,
pub env_additions: Vec<EnvAddition>,
pub source_stale: bool,
}Expand description
Result of comparing the registry’s render to what’s on disk.
Fields§
§service: String§entries: Vec<DiffEntry>§env_additions: Vec<EnvAddition>Static env vars the registry expects but the user’s .env is
missing. Empty when the .env already covers everything tracked.
source_stale: boolruntime = "native" only: the source changed since the running process
started, so a rebuild/restart would ship new code even though the
rendered config is unchanged. Always false for podman services and
stopped natives. Orthogonal to Self::is_clean (which is config-only)
– a service is upgradable when the diff is dirty or this is set.
Implementations§
Trait Implementations§
Source§impl Clone for DiffResult
impl Clone for DiffResult
Source§fn clone(&self) -> DiffResult
fn clone(&self) -> DiffResult
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 DiffResult
impl RefUnwindSafe for DiffResult
impl Send for DiffResult
impl Sync for DiffResult
impl Unpin for DiffResult
impl UnsafeUnpin for DiffResult
impl UnwindSafe for DiffResult
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