pub struct SerializedWorkflowState {
pub workflow_id: String,
pub definition_hash: String,
pub continuation: SerializableContinuation,
}Expand description
A complete serializable workflow state including version information.
This type wraps SerializableContinuation with workflow identification and
a definition hash that serves as a version check. When deserializing, the
hash is verified to ensure the serialized state matches the current workflow
definition.
Fields§
§workflow_id: StringThe workflow identifier.
definition_hash: StringSHA256 hash of the workflow definition structure. Used to detect version mismatches during deserialization.
continuation: SerializableContinuationThe serializable continuation structure.
Trait Implementations§
Source§impl Clone for SerializedWorkflowState
impl Clone for SerializedWorkflowState
Source§fn clone(&self) -> SerializedWorkflowState
fn clone(&self) -> SerializedWorkflowState
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 SerializedWorkflowState
impl Debug for SerializedWorkflowState
Source§impl<'de> Deserialize<'de> for SerializedWorkflowState
impl<'de> Deserialize<'de> for SerializedWorkflowState
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 SerializedWorkflowState
impl RefUnwindSafe for SerializedWorkflowState
impl Send for SerializedWorkflowState
impl Sync for SerializedWorkflowState
impl Unpin for SerializedWorkflowState
impl UnsafeUnpin for SerializedWorkflowState
impl UnwindSafe for SerializedWorkflowState
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