pub struct Snapshot {
pub origin: Origin,
pub catalog: Catalog,
pub scope: Scope,
pub runs: Vec<RunSummary>,
pub selected_id: Option<RunId>,
pub selected: Option<(RunView, Vec<RequestView>, Arc<Vec<Node>>)>,
}Expand description
One consistent read: the catalog, the scope’s Runs page and the selected Run with its tree.
Fields§
§origin: Origin§catalog: Catalog§scope: Scope§runs: Vec<RunSummary>§selected_id: Option<RunId>§selected: Option<(RunView, Vec<RequestView>, Arc<Vec<Node>>)>The selected Run when it was read again: its requests and projected tree.
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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