pub struct Invocation {
pub task: String,
pub contract_version: String,
pub language: Option<String>,
pub input: Expr,
pub idempotency_key: Option<Expr>,
pub timeout_ms: Option<u64>,
pub queue_timeout_ms: Option<u64>,
pub retry: RetryPolicy,
}Fields§
§task: String§contract_version: String§language: Option<String>Optional routing constraint: only workers announcing this runtime receive the task.
input: Expr§idempotency_key: Option<Expr>§timeout_ms: Option<u64>Start-to-close limit for one attempt.
queue_timeout_ms: Option<u64>Maximum time the task may wait in the queue before a worker picks it up.
retry: RetryPolicyTrait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
Source§impl Debug for Invocation
impl Debug for Invocation
Source§impl<'de> Deserialize<'de> for Invocation
impl<'de> Deserialize<'de> for Invocation
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 Invocation
impl PartialEq for Invocation
Source§impl Serialize for Invocation
impl Serialize for Invocation
impl StructuralPartialEq for Invocation
Auto Trait Implementations§
impl Forget for Invocation
impl Freeze for Invocation
impl Move for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocation
impl UnwindSafe for Invocation
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