pub struct Entry {
pub manager: Manager,
pub present: Presence,
pub file: Option<String>,
pub pin: &'static str,
pub version: Option<String>,
pub pin_lines: Option<usize>,
pub freshness: Option<Freshness>,
pub lock: Option<Presence>,
pub locked_ref: Option<String>,
pub locked_rev: Option<String>,
pub read: PinRead,
pub text: Option<String>,
}Expand description
One manager’s entry in the status report: what its file says.
Fields§
§manager: ManagerThe manager.
present: PresenceWhether the manager’s file exists.
file: Option<String>The file, relative to the target, where present.
pin: &'static strpinned, unpinned, absent, or ambiguous.
version: Option<String>The pinned version as the manager records it, where exactly one line pins it.
pin_lines: Option<usize>How many lines name release-kit, where any does.
freshness: Option<Freshness>The pin against this binary’s version, where one is pinned.
lock: Option<Presence>Whether flake.lock exists; the flake manager alone.
locked_ref: Option<String>The locked ref of the input, where the lock names one.
locked_rev: Option<String>The locked commit of the input, where the lock names one.
read: PinReadWhat the file says, kept for the verbs that act on it.
text: Option<String>The file’s text, kept for the fragments judged against it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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