pub struct GraphProposalVersion {
pub answers: Vec<String>,
pub approval: Option<GraphProposalApproval>,
pub attachments: Vec<TurnPromptAttachment>,
pub is_cancelled: bool,
pub number: u32,
pub outcome: GraphProposalVersionOutcome,
pub parent_id: String,
pub utility_run_id: Option<String>,
}Expand description
A generation reservation becomes terminal once; later work gets a new version.
Fields§
§answers: Vec<String>Complete answer set supplied to this generation, in question order.
approval: Option<GraphProposalApproval>Approval receipt, bound to this exact outcome and limits.
attachments: Vec<TurnPromptAttachment>Revision feedback images, oldest first, delivered after the original request images.
is_cancelled: boolTerminal discard flag, including cancellation during generation.
number: u32Consecutive host-assigned generation version.
outcome: GraphProposalVersionOutcomeGeneration progress, clarification, failure, or resolved preview.
parent_id: StringParent reference used to locate the exact generating worker run.
utility_run_id: Option<String>Worker-owned utility identity, captured on completion when available.
Trait Implementations§
Source§impl Clone for GraphProposalVersion
impl Clone for GraphProposalVersion
Source§impl Debug for GraphProposalVersion
impl Debug for GraphProposalVersion
Source§impl<'de> Deserialize<'de> for GraphProposalVersion
impl<'de> Deserialize<'de> for GraphProposalVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GraphProposalVersion
Source§impl PartialEq for GraphProposalVersion
impl PartialEq for GraphProposalVersion
Source§impl Serialize for GraphProposalVersion
impl Serialize for GraphProposalVersion
impl StructuralPartialEq for GraphProposalVersion
Auto Trait Implementations§
impl Forget for GraphProposalVersion
impl Freeze for GraphProposalVersion
impl Move for GraphProposalVersion
impl RefUnwindSafe for GraphProposalVersion
impl Send for GraphProposalVersion
impl Sync for GraphProposalVersion
impl Unpin for GraphProposalVersion
impl UnsafeUnpin for GraphProposalVersion
impl UnwindSafe for GraphProposalVersion
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.