pub struct SuspendExecutionArgs {Show 14 fields
pub execution_id: ExecutionId,
pub fence: Option<LeaseFence>,
pub attempt_index: AttemptIndex,
pub suspension_id: SuspensionId,
pub waitpoint_id: WaitpointId,
pub waitpoint_key: String,
pub reason_code: String,
pub requested_by: String,
pub resume_condition_json: String,
pub resume_policy_json: String,
pub continuation_metadata_pointer: Option<String>,
pub timeout_at: Option<TimestampMs>,
pub use_pending_waitpoint: bool,
pub timeout_behavior: String,
}Fields§
§execution_id: ExecutionId§fence: Option<LeaseFence>RFC #58.5 — fence triple. Required (no operator override path for
suspend). None returns fence_required.
attempt_index: AttemptIndex§suspension_id: SuspensionId§waitpoint_id: WaitpointId§waitpoint_key: String§reason_code: String§requested_by: String§resume_condition_json: String§resume_policy_json: String§continuation_metadata_pointer: Option<String>§timeout_at: Option<TimestampMs>§use_pending_waitpoint: booltrue to activate a pending waitpoint, false to create new.
timeout_behavior: StringTimeout behavior: “fail”, “cancel”, “expire”, “auto_resume”, “escalate”.
Trait Implementations§
Source§impl Clone for SuspendExecutionArgs
impl Clone for SuspendExecutionArgs
Source§fn clone(&self) -> SuspendExecutionArgs
fn clone(&self) -> SuspendExecutionArgs
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 SuspendExecutionArgs
impl Debug for SuspendExecutionArgs
Source§impl<'de> Deserialize<'de> for SuspendExecutionArgs
impl<'de> Deserialize<'de> for SuspendExecutionArgs
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
Auto Trait Implementations§
impl Freeze for SuspendExecutionArgs
impl RefUnwindSafe for SuspendExecutionArgs
impl Send for SuspendExecutionArgs
impl Sync for SuspendExecutionArgs
impl Unpin for SuspendExecutionArgs
impl UnsafeUnpin for SuspendExecutionArgs
impl UnwindSafe for SuspendExecutionArgs
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