pub struct Input {
pub state: PathBuf,
pub initial: Option<PathBuf>,
pub catalog: Catalog,
pub initialized: bool,
pub page: Page,
pub full: bool,
pub displayed: Option<RunId>,
pub changed: Changed,
pub runs: Option<Vec<RunSummary>>,
}Expand description
Everything one snapshot read needs; the caller keeps the catalog between reads.
Fields§
§state: PathBuf§initial: Option<PathBuf>cwd, --repo or --all (None): only the first selection.
catalog: Catalog§initialized: boolFalse before the first accepted snapshot, which picks the initial scope.
page: Page§full: boolRead the database catalog and the shown Run afresh; Git discovery stays cached until
Loader::rescan.
displayed: Option<RunId>The Run the caller already shows; it is read again only when a hint named it.
changed: ChangedWhat the change hints since the last read named.
runs: Option<Vec<RunSummary>>The page the caller already shows, reused while the database is unchanged.
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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