pub struct SessionGraph {
pub actions: Vec<SessionGraphActionKind>,
pub exhausted_budget: Option<String>,
pub id: String,
pub is_focused_review: bool,
pub node_id: Option<String>,
pub nodes: Vec<SessionGraphNode>,
pub note: Option<String>,
pub outputs: Vec<SessionGraphOutput>,
pub revision: NonZeroU64,
pub snapshot: String,
pub status: Option<ExecutionGraphStatus>,
pub status_label: String,
}Expand description
The selected graph of a SessionGraphs read with its live progress.
Fields§
§actions: Vec<SessionGraphActionKind>Actions the graph takes as a whole now, among
SessionGraphActionKind::Cancel,
SessionGraphActionKind::ExtendBudget, and
SessionGraphActionKind::Resume, as the host’s inspector offers
them.
exhausted_budget: Option<String>The spent budget SessionGraphActionKind::ExtendBudget adds
provider calls to, while actions offers it: the selected node’s,
or else the first one a pending node waits for, as the host’s
inspector shows it.
id: StringGraph identity.
is_focused_review: boolWhether the graph is a focused review that the host drives.
node_id: Option<String>The selected node, or None when the graph has no progress yet.
nodes: Vec<SessionGraphNode>Every node in declaration order.
note: Option<String>What the host says about how the graph is driven, such as for a focused review, when it says anything.
outputs: Vec<SessionGraphOutput>Outputs of the selected node’s latest execution.
revision: NonZeroU64Current immutable revision.
snapshot: StringOpaque token of everything an action on this graph is checked against: identity, revision, status, and node progress. It changes whenever any of them does, so an action can name the exact snapshot it was chosen from.
status: Option<ExecutionGraphStatus>Live status, or None when the host has no progress for the graph.
status_label: Stringstatus as the host shows it.
Trait Implementations§
Source§impl Clone for SessionGraph
impl Clone for SessionGraph
Source§impl Debug for SessionGraph
impl Debug for SessionGraph
impl Eq for SessionGraph
Source§impl PartialEq for SessionGraph
impl PartialEq for SessionGraph
impl StructuralPartialEq for SessionGraph
Auto Trait Implementations§
impl Forget for SessionGraph
impl Freeze for SessionGraph
impl Move for SessionGraph
impl RefUnwindSafe for SessionGraph
impl Send for SessionGraph
impl Sync for SessionGraph
impl Unpin for SessionGraph
impl UnsafeUnpin for SessionGraph
impl UnwindSafe for SessionGraph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.