pub struct SessionGraphProposal {
pub hint: Option<String>,
pub phase: SessionGraphProposalPhase,
pub preview: String,
pub questions: Vec<QuestionItem>,
pub state: GraphProposalState,
}Expand description
A session’s latest graph proposal with its rendered preview.
Fields§
§hint: Option<String>How the user acts on the proposal while it is pending, as the host
says it; None once it is approved or cancelled.
phase: SessionGraphProposalPhaseWhere the proposal stands.
preview: StringThe proposal’s details as Markdown, with its captured request and node instructions quoted.
questions: Vec<QuestionItem>Clarification questions the version asks before it can resolve.
state: GraphProposalStateThe retained proposal state.
Trait Implementations§
Source§impl Clone for SessionGraphProposal
impl Clone for SessionGraphProposal
Source§impl Debug for SessionGraphProposal
impl Debug for SessionGraphProposal
impl Eq for SessionGraphProposal
Source§impl PartialEq for SessionGraphProposal
impl PartialEq for SessionGraphProposal
impl StructuralPartialEq for SessionGraphProposal
Auto Trait Implementations§
impl Forget for SessionGraphProposal
impl Freeze for SessionGraphProposal
impl Move for SessionGraphProposal
impl RefUnwindSafe for SessionGraphProposal
impl Send for SessionGraphProposal
impl Sync for SessionGraphProposal
impl Unpin for SessionGraphProposal
impl UnsafeUnpin for SessionGraphProposal
impl UnwindSafe for SessionGraphProposal
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.