pub struct FlowModuleSuspend {
pub required_events: Option<i32>,
pub timeout: Option<i32>,
pub resume_form: Option<Box<FlowModuleSuspendResumeForm>>,
pub user_auth_required: Option<bool>,
pub user_groups_required: Option<Box<InputTransform>>,
pub self_approval_disabled: Option<bool>,
pub hide_cancel: Option<bool>,
pub continue_on_disapprove_timeout: Option<bool>,
}Expand description
FlowModuleSuspend : Configuration for approval/resume steps that wait for user input
Fields§
§required_events: Option<i32>Number of approvals required before continuing
timeout: Option<i32>Timeout in seconds before auto-continuing or canceling
resume_form: Option<Box<FlowModuleSuspendResumeForm>>§user_auth_required: Option<bool>If true, only authenticated users can approve
user_groups_required: Option<Box<InputTransform>>§self_approval_disabled: Option<bool>If true, the user who started the flow cannot approve
hide_cancel: Option<bool>If true, hide the cancel button on the approval form
continue_on_disapprove_timeout: Option<bool>If true, continue flow on timeout instead of canceling
Implementations§
Source§impl FlowModuleSuspend
impl FlowModuleSuspend
Sourcepub fn new() -> FlowModuleSuspend
pub fn new() -> FlowModuleSuspend
Configuration for approval/resume steps that wait for user input
Trait Implementations§
Source§impl Clone for FlowModuleSuspend
impl Clone for FlowModuleSuspend
Source§fn clone(&self) -> FlowModuleSuspend
fn clone(&self) -> FlowModuleSuspend
Returns a duplicate of the value. Read more
1.0.0 · 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 FlowModuleSuspend
impl Debug for FlowModuleSuspend
Source§impl Default for FlowModuleSuspend
impl Default for FlowModuleSuspend
Source§fn default() -> FlowModuleSuspend
fn default() -> FlowModuleSuspend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowModuleSuspend
impl<'de> Deserialize<'de> for FlowModuleSuspend
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 FlowModuleSuspend
impl PartialEq for FlowModuleSuspend
Source§impl Serialize for FlowModuleSuspend
impl Serialize for FlowModuleSuspend
impl StructuralPartialEq for FlowModuleSuspend
Auto Trait Implementations§
impl Freeze for FlowModuleSuspend
impl RefUnwindSafe for FlowModuleSuspend
impl Send for FlowModuleSuspend
impl Sync for FlowModuleSuspend
impl Unpin for FlowModuleSuspend
impl UnwindSafe for FlowModuleSuspend
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