pub struct ActivityExecutionInfo { /* private fields */ }Expand description
Contains basic information about an activity.
Obtained from Client::list_activities.
Implementations§
Source§impl ActivityExecutionInfo
impl ActivityExecutionInfo
Sourcepub fn raw_info(&self) -> &RawListInfo
pub fn raw_info(&self) -> &RawListInfo
Raw Protobuf object from server response.
Trait Implementations§
Source§impl ActivityExecutionInfoLike for ActivityExecutionInfo
impl ActivityExecutionInfoLike for ActivityExecutionInfo
Source§fn activity_id(&self) -> &str
fn activity_id(&self) -> &str
ID of the activity.
Source§fn activity_run_id(&self) -> &str
fn activity_run_id(&self) -> &str
Run ID of a particular execution of the activity.
Source§fn activity_type(&self) -> &str
fn activity_type(&self) -> &str
Type of the activity.
Source§fn schedule_time(&self) -> Option<SystemTime>
fn schedule_time(&self) -> Option<SystemTime>
Time the activity was originally scheduled.
Source§fn close_time(&self) -> Option<SystemTime>
fn close_time(&self) -> Option<SystemTime>
Time when the activity transitioned to a closed state.
Source§fn status(&self) -> ActivityExecutionStatus
fn status(&self) -> ActivityExecutionStatus
A general status for this activity, indicates whether it is currently running or in one of
the terminal statuses.
Source§fn task_queue(&self) -> &str
fn task_queue(&self) -> &str
The task queue this activity was scheduled on.
Source§fn execution_duration(&self) -> Option<Duration>
fn execution_duration(&self) -> Option<Duration>
The difference between close time and scheduled time. This field is only populated if
the activity is closed.
Source§impl From<ActivityExecutionListInfo> for ActivityExecutionInfo
impl From<ActivityExecutionListInfo> for ActivityExecutionInfo
Source§fn from(raw: RawListInfo) -> Self
fn from(raw: RawListInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActivityExecutionInfo
impl RefUnwindSafe for ActivityExecutionInfo
impl Send for ActivityExecutionInfo
impl Sync for ActivityExecutionInfo
impl Unpin for ActivityExecutionInfo
impl UnsafeUnpin for ActivityExecutionInfo
impl UnwindSafe for ActivityExecutionInfo
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> 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