pub struct TaskAssignment {Show 13 fields
pub token: String,
pub execution_id: String,
pub workflow: String,
pub workflow_version: String,
pub step_id: String,
pub task_name: String,
pub contract_version: String,
pub input: Value,
pub idempotency_key: String,
pub attempt: u32,
pub redelivery: bool,
pub deadline_ms: Option<u64>,
pub timeout_ms: Option<u64>,
}Expand description
A task handed to a worker (RFC-0001 §8.3 ExecuteTaskRequest).
Fields§
§token: String§execution_id: String§workflow: String§workflow_version: String§step_id: String§task_name: String§contract_version: String§input: Value§idempotency_key: String§attempt: u32§redelivery: bool§deadline_ms: Option<u64>§timeout_ms: Option<u64>Trait Implementations§
Source§impl Clone for TaskAssignment
impl Clone for TaskAssignment
Source§impl Debug for TaskAssignment
impl Debug for TaskAssignment
Source§impl<'de> Deserialize<'de> for TaskAssignment
impl<'de> Deserialize<'de> for TaskAssignment
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 TaskAssignment
impl PartialEq for TaskAssignment
Source§impl Serialize for TaskAssignment
impl Serialize for TaskAssignment
impl StructuralPartialEq for TaskAssignment
Auto Trait Implementations§
impl Forget for TaskAssignment
impl Freeze for TaskAssignment
impl Move for TaskAssignment
impl RefUnwindSafe for TaskAssignment
impl Send for TaskAssignment
impl Sync for TaskAssignment
impl Unpin for TaskAssignment
impl UnsafeUnpin for TaskAssignment
impl UnwindSafe for TaskAssignment
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request