pub struct FlowStatus {
pub step: i32,
pub modules: Vec<FlowStatusModule>,
pub user_states: Option<HashMap<String, Value>>,
pub preprocessor_module: Option<Box<FlowStatusModule>>,
pub failure_module: Box<FlowStatusFailureModule>,
pub retry: Option<Box<FlowStatusRetry>>,
}
Fields§
§step: i32
§modules: Vec<FlowStatusModule>
§user_states: Option<HashMap<String, Value>>
§preprocessor_module: Option<Box<FlowStatusModule>>
§failure_module: Box<FlowStatusFailureModule>
§retry: Option<Box<FlowStatusRetry>>
Implementations§
Source§impl FlowStatus
impl FlowStatus
pub fn new( step: i32, modules: Vec<FlowStatusModule>, failure_module: FlowStatusFailureModule, ) -> FlowStatus
Trait Implementations§
Source§impl Clone for FlowStatus
impl Clone for FlowStatus
Source§fn clone(&self) -> FlowStatus
fn clone(&self) -> FlowStatus
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 FlowStatus
impl Debug for FlowStatus
Source§impl Default for FlowStatus
impl Default for FlowStatus
Source§fn default() -> FlowStatus
fn default() -> FlowStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowStatus
impl<'de> Deserialize<'de> for FlowStatus
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 FlowStatus
impl PartialEq for FlowStatus
Source§impl Serialize for FlowStatus
impl Serialize for FlowStatus
impl StructuralPartialEq for FlowStatus
Auto Trait Implementations§
impl Freeze for FlowStatus
impl RefUnwindSafe for FlowStatus
impl Send for FlowStatus
impl Sync for FlowStatus
impl Unpin for FlowStatus
impl UnwindSafe for FlowStatus
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