pub struct ActivityRequest {
pub activity_type: String,
pub input: Payload,
pub task_queue: String,
pub schedule_to_close_timeout: Option<Duration>,
pub start_to_close_timeout: Option<Duration>,
}Expand description
Activity dispatch request sent through an Aion dispatch channel.
Fields§
§activity_type: StringActivity type name requested by the workflow.
input: PayloadType-erased activity input payload.
task_queue: StringTask queue that should receive the activity request.
schedule_to_close_timeout: Option<Duration>Maximum time from scheduling to completion.
start_to_close_timeout: Option<Duration>Maximum time from worker start to completion.
Trait Implementations§
Source§impl Clone for ActivityRequest
impl Clone for ActivityRequest
Source§fn clone(&self) -> ActivityRequest
fn clone(&self) -> ActivityRequest
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 Debug for ActivityRequest
impl Debug for ActivityRequest
impl Eq for ActivityRequest
Source§impl PartialEq for ActivityRequest
impl PartialEq for ActivityRequest
Source§fn eq(&self, other: &ActivityRequest) -> bool
fn eq(&self, other: &ActivityRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActivityRequest
Auto Trait Implementations§
impl Freeze for ActivityRequest
impl RefUnwindSafe for ActivityRequest
impl Send for ActivityRequest
impl Sync for ActivityRequest
impl Unpin for ActivityRequest
impl UnsafeUnpin for ActivityRequest
impl UnwindSafe for ActivityRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.