pub struct Observed {
pub target: Utf8PathBuf,
pub flake: Presence,
pub lock: Presence,
pub scan: Scan,
pub flake_text: Option<String>,
pub locked_rev: Option<String>,
pub locked_ref: Option<String>,
pub envrc: Presence,
pub envrc_sync: bool,
pub pending: bool,
pub stamp: Option<String>,
pub leftovers: Vec<Leftover>,
}Expand description
Everything the offline pass reads from a target and this host’s state root. It spawns nothing and fetches nothing.
Fields§
§target: Utf8PathBufThe target, canonical.
flake: PresenceWhether flake.nix exists.
lock: PresenceWhether flake.lock exists.
scan: ScanWhat the pin matcher found in flake.nix.
flake_text: Option<String>The flake.nix text, where the file read.
locked_rev: Option<String>The locked commit of the release-kit node, where the lock names one.
locked_ref: Option<String>The locked ref of the release-kit node, where the lock names one.
envrc: PresenceWhether .envrc exists.
envrc_sync: boolWhether .envrc carries the sync line.
pending: boolWhether a transaction marker for this checkout survives.
stamp: Option<String>The day of the last sync attempt for this checkout, where stamped.
leftovers: Vec<Leftover>What a predecessor bump mechanism left in the target.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Observed
impl RefUnwindSafe for Observed
impl Send for Observed
impl Sync for Observed
impl Unpin for Observed
impl UnsafeUnpin for Observed
impl UnwindSafe for Observed
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