pub struct StatusReport {
pub instance: bool,
pub profile: Option<ProfileId>,
pub docs_root: Option<DocsRoot>,
pub canon_version: Option<CanonVersion>,
pub binary_version: CanonVersion,
pub alignment: Option<Alignment>,
pub managed_drift: usize,
pub adopted_drift: usize,
pub failures: usize,
pub ok: Option<bool>,
}Expand description
One instance’s state, as sdd status reports it.
Fields§
§instance: boolWhether the target carries an instance.
profile: Option<ProfileId>The installed profile.
docs_root: Option<DocsRoot>The instance’s documentation root.
canon_version: Option<CanonVersion>The canon version that produced the instance.
binary_version: CanonVersionThe version this binary carries.
alignment: Option<Alignment>How the two versions relate.
managed_drift: usizeManaged files missing, symlinked, or byte-drifted.
adopted_drift: usizeAdopted files awaiting reconciliation.
failures: usizeVerification failures in total.
ok: Option<bool>Whether verification passes.
Trait Implementations§
Source§impl Debug for StatusReport
impl Debug for StatusReport
Auto Trait Implementations§
impl Freeze for StatusReport
impl RefUnwindSafe for StatusReport
impl Send for StatusReport
impl Sync for StatusReport
impl Unpin for StatusReport
impl UnsafeUnpin for StatusReport
impl UnwindSafe for StatusReport
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