pub struct SessionGraphNode {
pub actions: Vec<SessionGraphActionKind>,
pub awaits_approval: bool,
pub blocked: Vec<String>,
pub hint: Option<String>,
pub node: GraphNode,
pub progress: Option<GraphNodeProgress>,
pub reasoning_level: ReasoningLevel,
pub requirements: Vec<SessionGraphRequirement>,
pub status_label: String,
}Expand description
One node of a SessionGraph with what a frontend shows about it.
Fields§
§actions: Vec<SessionGraphActionKind>Actions the node takes now, among SessionGraphActionKind::Reply
and SessionGraphActionKind::Retry, as the host’s inspector offers
them with the node selected.
awaits_approval: boolWhether a dependent waits for the user to accept this node’s output.
blocked: Vec<String>Why the pending node cannot dispatch, each as the host shows it.
hint: Option<String>How the user acts on the node, such as answering its questions in chat, when it waits for them.
node: GraphNodeThe node’s definition.
progress: Option<GraphNodeProgress>The node’s live progress, once the host reads it.
reasoning_level: ReasoningLevelReasoning effort the node runs with.
requirements: Vec<SessionGraphRequirement>The node’s dependencies in declaration order.
status_label: StringThe node’s status as the host shows it.
Trait Implementations§
Source§impl Clone for SessionGraphNode
impl Clone for SessionGraphNode
Source§impl Debug for SessionGraphNode
impl Debug for SessionGraphNode
impl Eq for SessionGraphNode
Source§impl PartialEq for SessionGraphNode
impl PartialEq for SessionGraphNode
impl StructuralPartialEq for SessionGraphNode
Auto Trait Implementations§
impl Forget for SessionGraphNode
impl Freeze for SessionGraphNode
impl Move for SessionGraphNode
impl RefUnwindSafe for SessionGraphNode
impl Send for SessionGraphNode
impl Sync for SessionGraphNode
impl Unpin for SessionGraphNode
impl UnsafeUnpin for SessionGraphNode
impl UnwindSafe for SessionGraphNode
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
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
Compare self to
key and return true if they are equal.