pub struct WorkflowInterruptId(/* private fields */);Expand description
Stable identity of one durable human-review request.
Implementations§
Source§impl WorkflowInterruptId
impl WorkflowInterruptId
Sourcepub const fn from_checkpoint_id(id: CheckpointId) -> Self
pub const fn from_checkpoint_id(id: CheckpointId) -> Self
Uses an existing durable identity.
Sourcepub const fn as_checkpoint_id(self) -> CheckpointId
pub const fn as_checkpoint_id(self) -> CheckpointId
Returns the underlying UUID-backed identity.
Trait Implementations§
Source§impl Clone for WorkflowInterruptId
impl Clone for WorkflowInterruptId
Source§fn clone(&self) -> WorkflowInterruptId
fn clone(&self) -> WorkflowInterruptId
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 moreimpl Copy for WorkflowInterruptId
Source§impl Debug for WorkflowInterruptId
impl Debug for WorkflowInterruptId
Source§impl Default for WorkflowInterruptId
impl Default for WorkflowInterruptId
Source§impl<'de> Deserialize<'de> for WorkflowInterruptId
impl<'de> Deserialize<'de> for WorkflowInterruptId
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
impl Eq for WorkflowInterruptId
Source§impl Ord for WorkflowInterruptId
impl Ord for WorkflowInterruptId
Source§fn cmp(&self, other: &WorkflowInterruptId) -> Ordering
fn cmp(&self, other: &WorkflowInterruptId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WorkflowInterruptId
impl PartialEq for WorkflowInterruptId
Source§impl PartialOrd for WorkflowInterruptId
impl PartialOrd for WorkflowInterruptId
Source§impl Serialize for WorkflowInterruptId
impl Serialize for WorkflowInterruptId
impl StructuralPartialEq for WorkflowInterruptId
Auto Trait Implementations§
impl Freeze for WorkflowInterruptId
impl RefUnwindSafe for WorkflowInterruptId
impl Send for WorkflowInterruptId
impl Sync for WorkflowInterruptId
impl Unpin for WorkflowInterruptId
impl UnsafeUnpin for WorkflowInterruptId
impl UnwindSafe for WorkflowInterruptId
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