pub struct CreateWorkflowRequest {
pub name: String,
pub description: Option<String>,
pub mailing_list_id: Option<String>,
pub workflow_group_id: Option<String>,
}Fields§
§name: StringThe name of the workflow.
description: Option<String>The description of the workflow.
mailing_list_id: Option<String>The ID of a mailing list the workflow sends to. After creation, the mailing list can be changed with the /v1/workflows/{workflowId}/mailing-list endpoint.
workflow_group_id: Option<String>The ID of the workflow group to create this workflow in. Defaults to the team’s Unsorted group when omitted.
Trait Implementations§
Source§impl Clone for CreateWorkflowRequest
impl Clone for CreateWorkflowRequest
Source§impl Debug for CreateWorkflowRequest
impl Debug for CreateWorkflowRequest
Source§impl Default for CreateWorkflowRequest
impl Default for CreateWorkflowRequest
Source§impl PartialEq for CreateWorkflowRequest
impl PartialEq for CreateWorkflowRequest
Source§impl Serialize for CreateWorkflowRequest
impl Serialize for CreateWorkflowRequest
impl StructuralPartialEq for CreateWorkflowRequest
Source§impl Validate for CreateWorkflowRequest
impl Validate for CreateWorkflowRequest
Source§impl<'v_a> ValidateArgs<'v_a> for CreateWorkflowRequest
impl<'v_a> ValidateArgs<'v_a> for CreateWorkflowRequest
Auto Trait Implementations§
impl Freeze for CreateWorkflowRequest
impl RefUnwindSafe for CreateWorkflowRequest
impl Send for CreateWorkflowRequest
impl Sync for CreateWorkflowRequest
impl Unpin for CreateWorkflowRequest
impl UnsafeUnpin for CreateWorkflowRequest
impl UnwindSafe for CreateWorkflowRequest
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