pub struct WorkflowSnapshot {
pub parent_workflow_id: Option<String>,
pub root_workflow_id: Option<String>,
pub workflow_id: String,
pub scope: Scope,
pub state: WorkflowState,
pub revision: u64,
pub activation_id: Option<String>,
pub submitted_at: Timestamp,
pub terminal_at: Option<Timestamp>,
pub correlation_key: Option<String>,
}Fields§
§parent_workflow_id: Option<String>Present together only for a nested owned workflow; roots omit both.
root_workflow_id: Option<String>§workflow_id: String§scope: Scope§state: WorkflowState§revision: u64§activation_id: Option<String>§submitted_at: Timestamp§terminal_at: Option<Timestamp>§correlation_key: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for WorkflowSnapshot
impl Clone for WorkflowSnapshot
Source§impl Debug for WorkflowSnapshot
impl Debug for WorkflowSnapshot
Source§impl<'de> Deserialize<'de> for WorkflowSnapshot
impl<'de> Deserialize<'de> for WorkflowSnapshot
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
Auto Trait Implementations§
impl Freeze for WorkflowSnapshot
impl RefUnwindSafe for WorkflowSnapshot
impl Send for WorkflowSnapshot
impl Sync for WorkflowSnapshot
impl Unpin for WorkflowSnapshot
impl UnsafeUnpin for WorkflowSnapshot
impl UnwindSafe for WorkflowSnapshot
Blanket Implementations§
impl<T> ArtifactLease for T
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