pub struct WorkflowSummary {
pub workflow_id: WorkflowId,
pub run_id: RunId,
pub workflow_type: String,
pub status: WorkflowStatus,
pub start_time: DateTime<Utc>,
pub close_time: Option<DateTime<Utc>>,
pub search_attributes: HashMap<String, SearchAttributeValue>,
}Expand description
Lightweight workflow visibility projection returned by visibility queries.
Fields§
§workflow_id: WorkflowIdLogical workflow identifier.
run_id: RunIdConcrete run identifier for this workflow execution.
workflow_type: StringWorkflow type recorded when the execution started.
status: WorkflowStatusCurrent workflow status for visibility queries.
start_time: DateTime<Utc>Timestamp recorded when the workflow execution started.
close_time: Option<DateTime<Utc>>Timestamp recorded when the workflow execution closed, if terminal.
search_attributes: HashMap<String, SearchAttributeValue>Typed custom search attributes indexed for visibility queries.
Trait Implementations§
Source§impl Clone for WorkflowSummary
impl Clone for WorkflowSummary
Source§fn clone(&self) -> WorkflowSummary
fn clone(&self) -> WorkflowSummary
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 WorkflowSummary
impl Debug for WorkflowSummary
Source§impl<'de> Deserialize<'de> for WorkflowSummary
impl<'de> Deserialize<'de> for WorkflowSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<VisibilityRecord> for WorkflowSummary
impl From<VisibilityRecord> for WorkflowSummary
Source§fn from(record: VisibilityRecord) -> Self
fn from(record: VisibilityRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkflowSummary
impl PartialEq for WorkflowSummary
Source§fn eq(&self, other: &WorkflowSummary) -> bool
fn eq(&self, other: &WorkflowSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowSummary
impl Serialize for WorkflowSummary
impl StructuralPartialEq for WorkflowSummary
Auto Trait Implementations§
impl Freeze for WorkflowSummary
impl RefUnwindSafe for WorkflowSummary
impl Send for WorkflowSummary
impl Sync for WorkflowSummary
impl Unpin for WorkflowSummary
impl UnsafeUnpin for WorkflowSummary
impl UnwindSafe for WorkflowSummary
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