pub struct ActivityTaskRejection {
pub operation: String,
pub status: u16,
pub reason: String,
pub task_id: String,
pub activity_attempt_id: String,
pub cancel_requested: bool,
pub can_continue: Option<bool>,
pub run_closed_reason: Option<String>,
pub body: Value,
}Expand description
A worker-side activity settlement or heartbeat rejected by durable state.
Fields§
§operation: String§status: u16§reason: String§task_id: String§activity_attempt_id: String§cancel_requested: bool§can_continue: Option<bool>§run_closed_reason: Option<String>§body: ValueTrait Implementations§
Source§impl Clone for ActivityTaskRejection
impl Clone for ActivityTaskRejection
Source§fn clone(&self) -> ActivityTaskRejection
fn clone(&self) -> ActivityTaskRejection
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 ActivityTaskRejection
impl Debug for ActivityTaskRejection
Source§impl Display for ActivityTaskRejection
impl Display for ActivityTaskRejection
Source§impl Error for ActivityTaskRejection
impl Error for ActivityTaskRejection
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ActivityTaskRejection
impl RefUnwindSafe for ActivityTaskRejection
impl Send for ActivityTaskRejection
impl Sync for ActivityTaskRejection
impl Unpin for ActivityTaskRejection
impl UnsafeUnpin for ActivityTaskRejection
impl UnwindSafe for ActivityTaskRejection
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