#[non_exhaustive]pub struct NamespacedWorkflowInfo { /* private fields */ }Expand description
Information about a parent workflow.
Implementations§
Source§impl NamespacedWorkflowInfo
impl NamespacedWorkflowInfo
Sourcepub fn workflow_id(&self) -> &str
pub fn workflow_id(&self) -> &str
Returns the parent workflow’s unique identifier.
Sourcepub fn raw(&self) -> &NamespacedWorkflowExecution
pub fn raw(&self) -> &NamespacedWorkflowExecution
Accesses the underlying parent workflow protobuf.
Sourcepub fn into_raw(self) -> NamespacedWorkflowExecution
pub fn into_raw(self) -> NamespacedWorkflowExecution
Consumes this wrapper and returns the underlying parent workflow protobuf.
Trait Implementations§
Source§impl Clone for NamespacedWorkflowInfo
impl Clone for NamespacedWorkflowInfo
Source§fn clone(&self) -> NamespacedWorkflowInfo
fn clone(&self) -> NamespacedWorkflowInfo
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 moreAuto Trait Implementations§
impl Freeze for NamespacedWorkflowInfo
impl RefUnwindSafe for NamespacedWorkflowInfo
impl Send for NamespacedWorkflowInfo
impl Sync for NamespacedWorkflowInfo
impl Unpin for NamespacedWorkflowInfo
impl UnsafeUnpin for NamespacedWorkflowInfo
impl UnwindSafe for NamespacedWorkflowInfo
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