pub struct CompareAndReplaySucceededJob<'a> {
pub scope: JobScope,
pub source_job_id: Uuid,
pub expected_run_number: i32,
pub replay_request_key: &'a str,
pub reason: &'a str,
}Expand description
An idempotent request to execute a successful direct job again as a fresh logical job.
This operation does not mutate the source row. Replay creates a new job ID and copies only the source payload and effective execution settings; progress, checkpoint, output, terminal timestamps, workflow ownership, and the original idempotency key are never copied.
Fields§
§scope: JobScope§source_job_id: Uuid§expected_run_number: i32§replay_request_key: &'a strStable identity for one replay action. Retrying the same action must use the same key; another intentional replay must use a different key.
reason: &'a strTrait Implementations§
Source§impl<'a> Clone for CompareAndReplaySucceededJob<'a>
impl<'a> Clone for CompareAndReplaySucceededJob<'a>
Source§fn clone(&self) -> CompareAndReplaySucceededJob<'a>
fn clone(&self) -> CompareAndReplaySucceededJob<'a>
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<'a> Freeze for CompareAndReplaySucceededJob<'a>
impl<'a> RefUnwindSafe for CompareAndReplaySucceededJob<'a>
impl<'a> Send for CompareAndReplaySucceededJob<'a>
impl<'a> Sync for CompareAndReplaySucceededJob<'a>
impl<'a> Unpin for CompareAndReplaySucceededJob<'a>
impl<'a> UnsafeUnpin for CompareAndReplaySucceededJob<'a>
impl<'a> UnwindSafe for CompareAndReplaySucceededJob<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more