pub struct SimplifiedWorkflow {
pub id: String,
pub url: String,
pub workflow_revision_id: Option<NullableWorkflowRevisionId>,
pub status: SimplifiedWorkflowStatus,
pub name: Option<String>,
pub description: Option<String>,
pub workflow_group_id: String,
pub mailing_list_id: Option<String>,
pub root_node_id: String,
pub nodes: IndexMap<String, Box<SimplifiedWorkflowNode>>,
}Fields§
§id: StringThe ID of the workflow.
url: StringThe URL of the workflow in the Loops app.
workflow_revision_id: Option<NullableWorkflowRevisionId>§status: SimplifiedWorkflowStatus§name: Option<String>The name of the workflow.
description: Option<String>The description of the workflow.
workflow_group_id: StringThe ID of the workflow group this workflow belongs to.
mailing_list_id: Option<String>The ID of the mailing list the workflow sends to.
root_node_id: StringThe ID of the root node in the workflow graph.
nodes: IndexMap<String, Box<SimplifiedWorkflowNode>>A map of node IDs to simplified node objects. Each node includes typeName and nextNodeIds, plus type-specific fields when present. To get the full node object, use the GET /v1/workflows/{workflowId}/nodes/{nodeId} endpoint.
- Example:
{"cf16k73gq014h3mmj5b6jdi9r":{"typeName":"SignupTrigger","nextNodeIds":["cf16k73gq014h3mmj5b4jdifg","cf16k73gq014h3mmj5b4jdifh"]}}
Trait Implementations§
Source§impl Clone for SimplifiedWorkflow
impl Clone for SimplifiedWorkflow
Source§impl Debug for SimplifiedWorkflow
impl Debug for SimplifiedWorkflow
Source§impl Default for SimplifiedWorkflow
impl Default for SimplifiedWorkflow
Source§impl<'de> Deserialize<'de> for SimplifiedWorkflow
impl<'de> Deserialize<'de> for SimplifiedWorkflow
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 PartialEq for SimplifiedWorkflow
impl PartialEq for SimplifiedWorkflow
impl StructuralPartialEq for SimplifiedWorkflow
Auto Trait Implementations§
impl Freeze for SimplifiedWorkflow
impl RefUnwindSafe for SimplifiedWorkflow
impl Send for SimplifiedWorkflow
impl Sync for SimplifiedWorkflow
impl Unpin for SimplifiedWorkflow
impl UnsafeUnpin for SimplifiedWorkflow
impl UnwindSafe for SimplifiedWorkflow
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