pub enum WorkflowRuntimeRequestResolution {
Ok(Value),
OkUndefined,
OkWithBudget {
value: Value,
budget: WorkflowBudgetSnapshot,
},
Err {
message: String,
},
}Expand description
Response used to resume a pending long-running runtime request.
Variants§
Trait Implementations§
Source§impl Clone for WorkflowRuntimeRequestResolution
impl Clone for WorkflowRuntimeRequestResolution
Source§fn clone(&self) -> WorkflowRuntimeRequestResolution
fn clone(&self) -> WorkflowRuntimeRequestResolution
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<'de> Deserialize<'de> for WorkflowRuntimeRequestResolution
impl<'de> Deserialize<'de> for WorkflowRuntimeRequestResolution
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
impl StructuralPartialEq for WorkflowRuntimeRequestResolution
Auto Trait Implementations§
impl Freeze for WorkflowRuntimeRequestResolution
impl RefUnwindSafe for WorkflowRuntimeRequestResolution
impl Send for WorkflowRuntimeRequestResolution
impl Sync for WorkflowRuntimeRequestResolution
impl Unpin for WorkflowRuntimeRequestResolution
impl UnsafeUnpin for WorkflowRuntimeRequestResolution
impl UnwindSafe for WorkflowRuntimeRequestResolution
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