pub struct WorkflowHistory { /* private fields */ }Expand description
Workflow execution history returned by WorkflowHandle::fetch_history.
Implementations§
Source§impl WorkflowHistory
impl WorkflowHistory
Sourcepub fn events(&self) -> &[HistoryEvent]
pub fn events(&self) -> &[HistoryEvent]
The history events.
Sourcepub fn into_events(self) -> Vec<HistoryEvent>
pub fn into_events(self) -> Vec<HistoryEvent>
Consume the history and return the events.
Trait Implementations§
Source§impl Clone for WorkflowHistory
impl Clone for WorkflowHistory
Source§fn clone(&self) -> WorkflowHistory
fn clone(&self) -> WorkflowHistory
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 moreSource§impl Debug for WorkflowHistory
impl Debug for WorkflowHistory
Source§impl From<WorkflowHistory> for History
impl From<WorkflowHistory> for History
Source§fn from(h: WorkflowHistory) -> Self
fn from(h: WorkflowHistory) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkflowHistory
impl RefUnwindSafe for WorkflowHistory
impl Send for WorkflowHistory
impl Sync for WorkflowHistory
impl Unpin for WorkflowHistory
impl UnsafeUnpin for WorkflowHistory
impl UnwindSafe for WorkflowHistory
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