pub struct WorkflowsLintResponse {
pub compile_error: Option<String>,
pub compile_issues: Vec<WorkflowIssue>,
pub kind: Option<String>,
pub lint_issues: Vec<WorkflowIssue>,
pub plan_hash: Option<String>,
pub plan_json: Map<String, Value>,
}Expand description
Response from linting a workflow spec.
JSON schema
{
"description": "Response from linting a workflow spec.",
"type": "object",
"properties": {
"compile_error": {
"description": "Non-validation compile failure message",
"type": "string"
},
"compile_issues": {
"description": "Compile issues (when compile is enabled)",
"type": "array",
"items": {
"$ref": "#/$defs/WorkflowIssue"
}
},
"kind": {
"description": "Workflow kind (e.g., workflow)",
"type": "string"
},
"lint_issues": {
"description": "Lint issues found in the spec",
"type": "array",
"items": {
"$ref": "#/$defs/WorkflowIssue"
}
},
"plan_hash": {
"description": "Plan hash (when compile succeeds)",
"type": "string"
},
"plan_json": {
"description": "Compiled plan JSON (when compile succeeds)",
"type": "object"
}
}
}Fields§
§compile_error: Option<String>Non-validation compile failure message
compile_issues: Vec<WorkflowIssue>Compile issues (when compile is enabled)
kind: Option<String>Workflow kind (e.g., workflow)
lint_issues: Vec<WorkflowIssue>Lint issues found in the spec
plan_hash: Option<String>Plan hash (when compile succeeds)
plan_json: Map<String, Value>Compiled plan JSON (when compile succeeds)
Trait Implementations§
Source§impl Clone for WorkflowsLintResponse
impl Clone for WorkflowsLintResponse
Source§fn clone(&self) -> WorkflowsLintResponse
fn clone(&self) -> WorkflowsLintResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkflowsLintResponse
impl Debug for WorkflowsLintResponse
Source§impl Default for WorkflowsLintResponse
impl Default for WorkflowsLintResponse
Source§impl<'de> Deserialize<'de> for WorkflowsLintResponse
impl<'de> Deserialize<'de> for WorkflowsLintResponse
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
Source§impl From<&WorkflowsLintResponse> for WorkflowsLintResponse
impl From<&WorkflowsLintResponse> for WorkflowsLintResponse
Source§fn from(value: &WorkflowsLintResponse) -> Self
fn from(value: &WorkflowsLintResponse) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowsLintResponse> for ModelRelayApi
impl From<WorkflowsLintResponse> for ModelRelayApi
Source§fn from(value: WorkflowsLintResponse) -> Self
fn from(value: WorkflowsLintResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkflowsLintResponse
impl PartialEq for WorkflowsLintResponse
Source§impl Serialize for WorkflowsLintResponse
impl Serialize for WorkflowsLintResponse
impl StructuralPartialEq for WorkflowsLintResponse
Auto Trait Implementations§
impl Freeze for WorkflowsLintResponse
impl RefUnwindSafe for WorkflowsLintResponse
impl Send for WorkflowsLintResponse
impl Sync for WorkflowsLintResponse
impl Unpin for WorkflowsLintResponse
impl UnwindSafe for WorkflowsLintResponse
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