pub struct CreateFlowReq {
pub display_name: Option<String>,
pub external_id: Option<String>,
pub folder_id: Option<String>,
pub trigger: Option<Box<FlowTrigger>>,
}Fields§
§display_name: Option<String>DisplayName names the flow’s initial draft version.
external_id: Option<String>ExternalID is the caller’s own id for this flow. Optional.
folder_id: Option<String>FolderID groups the flow in the builder’s tree. Optional.
trigger: Option<Box<FlowTrigger>>Trigger is the root of the step tree — how the flow starts, and the action chain that follows. Optional: a flow may be created empty and edited later.
Implementations§
Source§impl CreateFlowReq
impl CreateFlowReq
pub fn new() -> CreateFlowReq
Trait Implementations§
Source§impl Clone for CreateFlowReq
impl Clone for CreateFlowReq
Source§fn clone(&self) -> CreateFlowReq
fn clone(&self) -> CreateFlowReq
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateFlowReq
impl Debug for CreateFlowReq
Source§impl Default for CreateFlowReq
impl Default for CreateFlowReq
Source§fn default() -> CreateFlowReq
fn default() -> CreateFlowReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateFlowReq
impl<'de> Deserialize<'de> for CreateFlowReq
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 CreateFlowReq
impl PartialEq for CreateFlowReq
Source§impl Serialize for CreateFlowReq
impl Serialize for CreateFlowReq
impl StructuralPartialEq for CreateFlowReq
Auto Trait Implementations§
impl Freeze for CreateFlowReq
impl RefUnwindSafe for CreateFlowReq
impl Send for CreateFlowReq
impl Sync for CreateFlowReq
impl Unpin for CreateFlowReq
impl UnsafeUnpin for CreateFlowReq
impl UnwindSafe for CreateFlowReq
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