pub struct AddWorkflowBranchRequestParams {
pub path: AddWorkflowBranchRequestParamsPath,
pub body: AddWorkflowBranchRequest,
}Expand description
Add a branch and a child node under an existing Branch or Experiment node. Returns the created child node plus the latest workflow.
- Adding a branch to a
BranchNodecreates oneAudienceFilterchild node. - Adding a branch to an
ExperimentBranchNodecreates oneVariantNodechild node.
This endpoint does not accept node configuration fields; update the child node with POST /v1/workflows/{workflowId}/nodes/{nodeId} after creation. Public workflows are limited to 400 nodes, and this endpoint adds 1 node.
Fields§
§path: AddWorkflowBranchRequestParamsPath§body: AddWorkflowBranchRequestImplementations§
Source§impl AddWorkflowBranchRequestParams
impl AddWorkflowBranchRequestParams
Sourcepub async fn parse_response(
req: Response,
) -> Result<AddWorkflowBranchResponseEnum>
pub async fn parse_response( req: Response, ) -> Result<AddWorkflowBranchResponseEnum>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl<'v_a> ValidateArgs<'v_a> for AddWorkflowBranchRequestParams
impl<'v_a> ValidateArgs<'v_a> for AddWorkflowBranchRequestParams
Auto Trait Implementations§
impl Freeze for AddWorkflowBranchRequestParams
impl RefUnwindSafe for AddWorkflowBranchRequestParams
impl Send for AddWorkflowBranchRequestParams
impl Sync for AddWorkflowBranchRequestParams
impl Unpin for AddWorkflowBranchRequestParams
impl UnsafeUnpin for AddWorkflowBranchRequestParams
impl UnwindSafe for AddWorkflowBranchRequestParams
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