pub struct BuildResult {
pub workflow: Option<Workflow>,
pub valid: bool,
pub issues: Vec<String>,
pub warnings: Vec<String>,
pub attempts: u32,
pub raw: Option<String>,
}Expand description
The outcome of a build.
Fields§
§workflow: Option<Workflow>The best workflow produced. Some and valid on success; on failure it
holds the last parseable-but-invalid attempt (if any) for inspection.
valid: boolWhether workflow passed verify_workflow with no errors.
issues: Vec<String>Validation/parse errors from the final attempt (empty when valid).
warnings: Vec<String>Advisory semantic findings (e.g. an edge condition keyed on a state value
no stage produces). Non-blocking — present even when valid is true; they
are also fed back as repair hints while other errors are being fixed.
attempts: u32How many attempts were made.
raw: Option<String>Raw text of the last model response (for debugging).
Auto Trait Implementations§
impl Freeze for BuildResult
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnsafeUnpin for BuildResult
impl UnwindSafe for BuildResult
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more