pub struct WorkExecutionMachineState {
pub lifecycle_phase: WorkExecutionLifecycleState,
pub binding_id: String,
pub run_id: String,
pub revision: u64,
pub last_failure_detail: Option<String>,
pub evidence_kind: Option<WorkExecutionEvidenceKind>,
}Fields§
§lifecycle_phase: WorkExecutionLifecycleState§binding_id: String§run_id: String§revision: u64§last_failure_detail: Option<String>§evidence_kind: Option<WorkExecutionEvidenceKind>Implementations§
Source§impl WorkExecutionLifecycleMachineState
impl WorkExecutionLifecycleMachineState
pub fn phase(&self) -> WorkExecutionLifecycleState
Source§impl WorkExecutionLifecycleMachineState
impl WorkExecutionLifecycleMachineState
Sourcepub fn schema_static() -> &'static MachineSchema
pub fn schema_static() -> &'static MachineSchema
Cached canonical schema for this machine.
A generated machine’s schema is immutable for the life of the
binary; construction happens exactly once (first call) and
every subsequent call returns the same &'static allocation.
Hot paths (wire-header validation, per-row store recovery)
must use this handle instead of Self::schema.
Sourcepub fn schema() -> MachineSchema
pub fn schema() -> MachineSchema
Owned copy of the cached schema.
Kept for callers that mutate the returned value (catalog metadata attachment). This clones the cached construction; it never re-parses the machine definition.
Trait Implementations§
Source§impl Clone for WorkExecutionLifecycleMachineState
impl Clone for WorkExecutionLifecycleMachineState
Source§fn clone(&self) -> WorkExecutionLifecycleMachineState
fn clone(&self) -> WorkExecutionLifecycleMachineState
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 moreSource§impl Default for WorkExecutionLifecycleMachineState
impl Default for WorkExecutionLifecycleMachineState
Source§fn default() -> WorkExecutionLifecycleMachineState
fn default() -> WorkExecutionLifecycleMachineState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkExecutionLifecycleMachineState
impl<'de> Deserialize<'de> for WorkExecutionLifecycleMachineState
Source§fn deserialize<D>(
deserializer: D,
) -> Result<WorkExecutionLifecycleMachineState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<WorkExecutionLifecycleMachineState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkExecutionLifecycleMachineState
Source§impl From<WorkExecutionLifecycleMachineStateWire> for WorkExecutionLifecycleMachineState
impl From<WorkExecutionLifecycleMachineStateWire> for WorkExecutionLifecycleMachineState
Source§fn from(
wire: WorkExecutionLifecycleMachineStateWire,
) -> WorkExecutionLifecycleMachineState
fn from( wire: WorkExecutionLifecycleMachineStateWire, ) -> WorkExecutionLifecycleMachineState
Converts to this type from the input type.
Source§impl Serialize for WorkExecutionLifecycleMachineState
impl Serialize for WorkExecutionLifecycleMachineState
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkExecutionLifecycleMachineState
Auto Trait Implementations§
impl Freeze for WorkExecutionLifecycleMachineState
impl RefUnwindSafe for WorkExecutionLifecycleMachineState
impl Send for WorkExecutionLifecycleMachineState
impl Sync for WorkExecutionLifecycleMachineState
impl Unpin for WorkExecutionLifecycleMachineState
impl UnsafeUnpin for WorkExecutionLifecycleMachineState
impl UnwindSafe for WorkExecutionLifecycleMachineState
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,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.