pub struct WorkflowValidation {
pub meta: Option<WorkflowMeta>,
pub has_main: bool,
pub has_report_call: bool,
pub span_pairing_ok: bool,
pub errors: Vec<String>,
pub warnings: Vec<String>,
}Expand description
Structured result of deep workflow validation.
Fields§
§meta: Option<WorkflowMeta>Extracted meta information (None if meta table is missing/invalid).
has_main: boolWhether main() function is defined.
has_report_call: boolWhether report( appears in the script body (heuristic).
span_pairing_ok: boolWhether phase_begin() / phase_end() calls are paired.
errors: Vec<String>All validation errors found.
warnings: Vec<String>All validation warnings.
Implementations§
Auto Trait Implementations§
impl Freeze for WorkflowValidation
impl RefUnwindSafe for WorkflowValidation
impl Send for WorkflowValidation
impl Sync for WorkflowValidation
impl Unpin for WorkflowValidation
impl UnsafeUnpin for WorkflowValidation
impl UnwindSafe for WorkflowValidation
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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