pub struct PlanWorkflowRequest {
pub estimate_durations: Option<bool>,
pub max_depth: Option<i32>,
pub payload: Option<Map<String, Value>>,
}Expand description
Request body for building a workflow execution plan.
JSON schema
{
"description": "Request body for building a workflow execution plan.",
"type": "object",
"properties": {
"estimate_durations": {
"description": "Estimate step durations from run history. Defaults to `true`.",
"type": [
"boolean",
"null"
]
},
"max_depth": {
"description": "How deep sub-workflows are expanded. Defaults to 3, capped at 10.",
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"payload": {
"description": "Input payload the plan is computed for. Defaults to `{}`.",
"type": [
"object",
"null"
],
"additionalProperties": {}
}
}
}
```ignore
</details>Fields§
§estimate_durations: Option<bool>Estimate step durations from run history. Defaults to true.
max_depth: Option<i32>How deep sub-workflows are expanded. Defaults to 3, capped at 10.
payload: Option<Map<String, Value>>Input payload the plan is computed for. Defaults to {}.
Implementations§
Source§impl PlanWorkflowRequest
impl PlanWorkflowRequest
pub fn builder() -> PlanWorkflowRequest
Trait Implementations§
Source§impl Clone for PlanWorkflowRequest
impl Clone for PlanWorkflowRequest
Source§impl Debug for PlanWorkflowRequest
impl Debug for PlanWorkflowRequest
Source§impl Default for PlanWorkflowRequest
impl Default for PlanWorkflowRequest
Source§impl<'de> Deserialize<'de> for PlanWorkflowRequest
impl<'de> Deserialize<'de> for PlanWorkflowRequest
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<PlanWorkflowRequest> for PlanWorkflowRequest
impl From<PlanWorkflowRequest> for PlanWorkflowRequest
Source§fn from(value: PlanWorkflowRequest) -> Self
fn from(value: PlanWorkflowRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for PlanWorkflowRequest
impl Serialize for PlanWorkflowRequest
Source§impl TryFrom<PlanWorkflowRequest> for PlanWorkflowRequest
impl TryFrom<PlanWorkflowRequest> for PlanWorkflowRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PlanWorkflowRequest) -> Result<Self, ConversionError>
fn try_from(value: PlanWorkflowRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PlanWorkflowRequest
impl RefUnwindSafe for PlanWorkflowRequest
impl Send for PlanWorkflowRequest
impl Sync for PlanWorkflowRequest
impl Unpin for PlanWorkflowRequest
impl UnsafeUnpin for PlanWorkflowRequest
impl UnwindSafe for PlanWorkflowRequest
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