#[non_exhaustive]pub struct WorkflowExecution { /* private fields */ }Expand description
Identifies a workflow execution by workflow and run ID.
Implementations§
Source§impl WorkflowExecution
impl WorkflowExecution
Sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
The workflow ID.
Sourcepub fn set_workflow_id(
&mut self,
workflow_id: impl Into<String>,
) -> &mut WorkflowExecution
pub fn set_workflow_id( &mut self, workflow_id: impl Into<String>, ) -> &mut WorkflowExecution
Set the workflow ID.
Sourcepub fn set_run_id(
&mut self,
run_id: impl Into<String>,
) -> &mut WorkflowExecution
pub fn set_run_id( &mut self, run_id: impl Into<String>, ) -> &mut WorkflowExecution
Set the run ID.
Sourcepub fn raw(&self) -> &WorkflowExecution
pub fn raw(&self) -> &WorkflowExecution
Access the underlying workflow execution protobuf.
Sourcepub fn into_raw(self) -> WorkflowExecution
pub fn into_raw(self) -> WorkflowExecution
Consume this wrapper and return the underlying workflow execution protobuf.
Trait Implementations§
Source§impl Clone for WorkflowExecution
impl Clone for WorkflowExecution
Source§fn clone(&self) -> WorkflowExecution
fn clone(&self) -> WorkflowExecution
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 WorkflowExecution
impl Debug for WorkflowExecution
Source§impl Default for WorkflowExecution
impl Default for WorkflowExecution
Source§fn default() -> WorkflowExecution
fn default() -> WorkflowExecution
Returns the “default value” for a type. Read more
Source§impl From<WorkflowExecution> for WorkflowExecution
impl From<WorkflowExecution> for WorkflowExecution
Source§fn from(value: WorkflowExecution) -> WorkflowExecution
fn from(value: WorkflowExecution) -> WorkflowExecution
Converts to this type from the input type.
Source§impl From<WorkflowExecution> for WorkflowExecution
impl From<WorkflowExecution> for WorkflowExecution
Source§fn from(value: WorkflowExecution) -> WorkflowExecution
fn from(value: WorkflowExecution) -> WorkflowExecution
Converts to this type from the input type.
Source§impl PartialEq for WorkflowExecution
impl PartialEq for WorkflowExecution
impl StructuralPartialEq for WorkflowExecution
Auto Trait Implementations§
impl Freeze for WorkflowExecution
impl RefUnwindSafe for WorkflowExecution
impl Send for WorkflowExecution
impl Sync for WorkflowExecution
impl Unpin for WorkflowExecution
impl UnsafeUnpin for WorkflowExecution
impl UnwindSafe for WorkflowExecution
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