pub struct CreateWorkflowNodeBetweenRequest {
pub expected_revision_id: Option<WorkflowExpectedRevisionId>,
pub node_type_name: CreateWorkflowNodeTypeName,
pub from_node_id: String,
pub to_node_id: String,
/* private fields */
}Expand description
Insert a new node between two existing nodes, fromNodeId and toNodeId. When fromNodeId is an ExperimentBranchNode, nodeTypeName must be VariantNode, and toNodeId cannot already be a VariantNode; use add-branch to add sibling variants. Branch paths can be edited with create-node, but a workflow cannot be started unless each direct BranchNode child is an AudienceFilter.
Fields§
§expected_revision_id: Option<WorkflowExpectedRevisionId>§node_type_name: CreateWorkflowNodeTypeNameNode types that can be created with the API. *Trigger nodes and ExitAction nodes cannot be created.
from_node_id: StringThe node to insert after. This node must currently point to toNodeId. If this is an ExperimentBranchNode, nodeTypeName must be VariantNode and toNodeId cannot already be a VariantNode.
to_node_id: StringThe node to insert before.
Trait Implementations§
impl StructuralPartialEq for CreateWorkflowNodeBetweenRequest
Source§impl<'v_a> ValidateArgs<'v_a> for CreateWorkflowNodeBetweenRequest
impl<'v_a> ValidateArgs<'v_a> for CreateWorkflowNodeBetweenRequest
Auto Trait Implementations§
impl Freeze for CreateWorkflowNodeBetweenRequest
impl RefUnwindSafe for CreateWorkflowNodeBetweenRequest
impl Send for CreateWorkflowNodeBetweenRequest
impl Sync for CreateWorkflowNodeBetweenRequest
impl Unpin for CreateWorkflowNodeBetweenRequest
impl UnsafeUnpin for CreateWorkflowNodeBetweenRequest
impl UnwindSafe for CreateWorkflowNodeBetweenRequest
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