pub enum GraphProposalVersionOutcome {
Generating,
Generated {
launch: Option<Box<StartExecutionGraphRequest>>,
response: GraphProposalResponse,
},
Failed(String),
}Expand description
Generation outcome; only a resolved preview can be approved.
Variants§
Generating
Reserved durably before worker submission; restart never resubmits it.
Generated
Complete wire response and optional executable resolution.
Fields
§
launch: Option<Box<StartExecutionGraphRequest>>Resolved graph and fixed execution budgets, absent for clarification. For an expansion, the expanded next revision of the captured base, with no budgets of its own.
§
response: GraphProposalResponseModel-authored proposal or clarification.
Failed(String)
Failed generation or rejected resolution; requires an explicit retry.
Trait Implementations§
Source§impl Clone for GraphProposalVersionOutcome
impl Clone for GraphProposalVersionOutcome
Source§impl Debug for GraphProposalVersionOutcome
impl Debug for GraphProposalVersionOutcome
Source§impl<'de> Deserialize<'de> for GraphProposalVersionOutcome
impl<'de> Deserialize<'de> for GraphProposalVersionOutcome
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 GraphProposalVersionOutcome
impl StructuralPartialEq for GraphProposalVersionOutcome
Auto Trait Implementations§
impl Forget for GraphProposalVersionOutcome
impl Freeze for GraphProposalVersionOutcome
impl Move for GraphProposalVersionOutcome
impl RefUnwindSafe for GraphProposalVersionOutcome
impl Send for GraphProposalVersionOutcome
impl Sync for GraphProposalVersionOutcome
impl Unpin for GraphProposalVersionOutcome
impl UnsafeUnpin for GraphProposalVersionOutcome
impl UnwindSafe for GraphProposalVersionOutcome
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.