pub enum ActivityResult {
Completed {
output_variables: Option<HashMap<String, Value>>,
},
Waiting {
reason: String,
},
Continue {
next_elements: Vec<String>,
},
}Expand description
Activity Result
Result of executing an activity.
Variants§
Completed
Activity completed successfully
Waiting
Activity is waiting (e.g., user task waiting for user input)
Continue
Activity needs to continue to next element(s)
Trait Implementations§
Source§impl Clone for ActivityResult
impl Clone for ActivityResult
Source§fn clone(&self) -> ActivityResult
fn clone(&self) -> ActivityResult
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 moreAuto Trait Implementations§
impl Freeze for ActivityResult
impl RefUnwindSafe for ActivityResult
impl Send for ActivityResult
impl Sync for ActivityResult
impl Unpin for ActivityResult
impl UnsafeUnpin for ActivityResult
impl UnwindSafe for ActivityResult
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