#[non_exhaustive]pub struct DeleteNodeOptions {
pub dry_run: Option<bool>,
pub queued_contact_policy: Option<WorkflowQueuedContactPolicy>,
pub recursive: bool,
}Expand description
Optional parts of delete_workflow_node.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dry_run: Option<bool>Report what would be deleted without deleting it.
queued_contact_policy: Option<WorkflowQueuedContactPolicy>What to do with contacts queued at the node. Loops defaults to Fail.
recursive: boolAlso delete everything downstream of the node, instead of re-linking its edge.
Implementations§
Source§impl DeleteNodeOptions
impl DeleteNodeOptions
Sourcepub fn queued_contact_policy(self, policy: WorkflowQueuedContactPolicy) -> Self
pub fn queued_contact_policy(self, policy: WorkflowQueuedContactPolicy) -> Self
Set the queued-contact policy.
Trait Implementations§
Source§impl Clone for DeleteNodeOptions
impl Clone for DeleteNodeOptions
Source§impl Debug for DeleteNodeOptions
impl Debug for DeleteNodeOptions
Source§impl Default for DeleteNodeOptions
impl Default for DeleteNodeOptions
impl Eq for DeleteNodeOptions
Source§impl PartialEq for DeleteNodeOptions
impl PartialEq for DeleteNodeOptions
impl StructuralPartialEq for DeleteNodeOptions
Auto Trait Implementations§
impl Freeze for DeleteNodeOptions
impl RefUnwindSafe for DeleteNodeOptions
impl Send for DeleteNodeOptions
impl Sync for DeleteNodeOptions
impl Unpin for DeleteNodeOptions
impl UnsafeUnpin for DeleteNodeOptions
impl UnwindSafe for DeleteNodeOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.