pub struct ActivityHeartbeatResponse {
pub cancel_requested: bool,
pub activity_paused: bool,
pub activity_reset: bool,
}Expand description
Response from a heartbeat call.
Fields§
§cancel_requested: boolTrue if the activity has been asked to cancel itself.
activity_paused: boolTrue if the activity is paused.
activity_reset: boolTrue if the activity was reset.
Trait Implementations§
Source§impl Clone for ActivityHeartbeatResponse
impl Clone for ActivityHeartbeatResponse
Source§fn clone(&self) -> ActivityHeartbeatResponse
fn clone(&self) -> ActivityHeartbeatResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 ActivityHeartbeatResponse
impl Debug for ActivityHeartbeatResponse
Source§impl From<RecordActivityTaskHeartbeatByIdResponse> for ActivityHeartbeatResponse
impl From<RecordActivityTaskHeartbeatByIdResponse> for ActivityHeartbeatResponse
Source§fn from(resp: RecordActivityTaskHeartbeatByIdResponse) -> Self
fn from(resp: RecordActivityTaskHeartbeatByIdResponse) -> Self
Converts to this type from the input type.
Source§impl From<RecordActivityTaskHeartbeatResponse> for ActivityHeartbeatResponse
impl From<RecordActivityTaskHeartbeatResponse> for ActivityHeartbeatResponse
Source§fn from(resp: RecordActivityTaskHeartbeatResponse) -> Self
fn from(resp: RecordActivityTaskHeartbeatResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActivityHeartbeatResponse
impl RefUnwindSafe for ActivityHeartbeatResponse
impl Send for ActivityHeartbeatResponse
impl Sync for ActivityHeartbeatResponse
impl Unpin for ActivityHeartbeatResponse
impl UnsafeUnpin for ActivityHeartbeatResponse
impl UnwindSafe for ActivityHeartbeatResponse
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
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> 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