pub struct WorkflowExecutionDescription {
pub raw_description: DescribeWorkflowExecutionResponse,
/* private fields */
}Expand description
Description of a workflow execution returned by WorkflowHandle::describe.
Access to the underlying Protobuf message is provided by raw.
Fields§
§raw_description: DescribeWorkflowExecutionResponseThe raw proto response from the server.
Implementations§
Source§impl WorkflowExecutionDescription
impl WorkflowExecutionDescription
Sourcepub fn workflow_type(&self) -> &str
pub fn workflow_type(&self) -> &str
The workflow type name.
Sourcepub fn status(&self) -> WorkflowExecutionStatus
pub fn status(&self) -> WorkflowExecutionStatus
The current status of the workflow execution.
Sourcepub fn start_time(&self) -> Option<SystemTime>
pub fn start_time(&self) -> Option<SystemTime>
When the workflow was created.
Sourcepub fn execution_time(&self) -> Option<SystemTime>
pub fn execution_time(&self) -> Option<SystemTime>
When the workflow run started or should start.
Sourcepub fn close_time(&self) -> Option<SystemTime>
pub fn close_time(&self) -> Option<SystemTime>
When the workflow was closed, if closed.
Sourcepub fn task_queue(&self) -> &str
pub fn task_queue(&self) -> &str
The task queue the workflow runs on.
Sourcepub fn history_length(&self) -> usize
pub fn history_length(&self) -> usize
Number of events in history.
Sourcepub fn parent_run_id(&self) -> Option<&str>
pub fn parent_run_id(&self) -> Option<&str>
Parent run ID, if this is a child workflow.
Sourcepub fn search_attributes(&self) -> Option<&SearchAttributes>
pub fn search_attributes(&self) -> Option<&SearchAttributes>
Search attributes on the workflow.
Sourcepub fn static_summary(&self) -> Option<&str>
pub fn static_summary(&self) -> Option<&str>
Static summary configured on the workflow, if present.
Sourcepub fn static_details(&self) -> Option<&str>
pub fn static_details(&self) -> Option<&str>
Static details configured on the workflow, if present.
Sourcepub fn raw(&self) -> &DescribeWorkflowExecutionResponse
pub fn raw(&self) -> &DescribeWorkflowExecutionResponse
Access the raw proto for additional fields not exposed via accessors.
Sourcepub fn into_raw(self) -> DescribeWorkflowExecutionResponse
pub fn into_raw(self) -> DescribeWorkflowExecutionResponse
Consume the wrapper and return the raw proto.
Trait Implementations§
Source§impl Clone for WorkflowExecutionDescription
impl Clone for WorkflowExecutionDescription
Source§fn clone(&self) -> WorkflowExecutionDescription
fn clone(&self) -> WorkflowExecutionDescription
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 moreAuto Trait Implementations§
impl Freeze for WorkflowExecutionDescription
impl RefUnwindSafe for WorkflowExecutionDescription
impl Send for WorkflowExecutionDescription
impl Sync for WorkflowExecutionDescription
impl Unpin for WorkflowExecutionDescription
impl UnsafeUnpin for WorkflowExecutionDescription
impl UnwindSafe for WorkflowExecutionDescription
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