pub struct WorkGraphMachineState {Show 22 fields
pub lifecycle_phase: WorkLifecycleState,
pub revision: u64,
pub unresolved_blocker_count: u64,
pub topology_item_keys: BTreeSet<WorkItemKey>,
pub topology_edge_keys: BTreeSet<WorkEdgeKey>,
pub blocks_reachability: BTreeSet<WorkDependencyPathKey>,
pub parent_reachability: BTreeSet<WorkDependencyPathKey>,
pub claim_owner_key: Option<WorkOwnerKey>,
pub claimed_at_utc_ms: Option<u64>,
pub lease_expires_at_utc_ms: Option<u64>,
pub due_at_utc_ms: Option<u64>,
pub not_before_utc_ms: Option<u64>,
pub snoozed_until_utc_ms: Option<u64>,
pub completion_policy: WorkCompletionPolicy,
pub completion_supervisor_owner_key: Option<WorkOwnerKey>,
pub completion_reviewer_quorum_threshold: Option<u64>,
pub terminal_at_utc_ms: Option<u64>,
pub evidence_count: u64,
pub host_confirmation_count: u64,
pub principal_confirmation_count: u64,
pub supervisor_confirmation_owner_keys: BTreeSet<WorkOwnerKey>,
pub reviewer_confirmation_owner_keys: BTreeSet<WorkOwnerKey>,
}Fields§
§lifecycle_phase: WorkLifecycleState§revision: u64§unresolved_blocker_count: u64§topology_item_keys: BTreeSet<WorkItemKey>§topology_edge_keys: BTreeSet<WorkEdgeKey>§blocks_reachability: BTreeSet<WorkDependencyPathKey>§parent_reachability: BTreeSet<WorkDependencyPathKey>§claim_owner_key: Option<WorkOwnerKey>§claimed_at_utc_ms: Option<u64>§lease_expires_at_utc_ms: Option<u64>§due_at_utc_ms: Option<u64>§not_before_utc_ms: Option<u64>§snoozed_until_utc_ms: Option<u64>§completion_policy: WorkCompletionPolicy§completion_supervisor_owner_key: Option<WorkOwnerKey>§completion_reviewer_quorum_threshold: Option<u64>§terminal_at_utc_ms: Option<u64>§evidence_count: u64§host_confirmation_count: u64§principal_confirmation_count: u64§supervisor_confirmation_owner_keys: BTreeSet<WorkOwnerKey>§reviewer_confirmation_owner_keys: BTreeSet<WorkOwnerKey>Implementations§
Source§impl WorkGraphLifecycleMachineState
impl WorkGraphLifecycleMachineState
pub fn phase(&self) -> WorkLifecycleState
Source§impl WorkGraphLifecycleMachineState
impl WorkGraphLifecycleMachineState
pub fn schema() -> MachineSchema
Trait Implementations§
Source§impl Clone for WorkGraphLifecycleMachineState
impl Clone for WorkGraphLifecycleMachineState
Source§fn clone(&self) -> WorkGraphLifecycleMachineState
fn clone(&self) -> WorkGraphLifecycleMachineState
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 WorkGraphLifecycleMachineState
impl Default for WorkGraphLifecycleMachineState
Source§fn default() -> WorkGraphLifecycleMachineState
fn default() -> WorkGraphLifecycleMachineState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkGraphLifecycleMachineState
impl<'de> Deserialize<'de> for WorkGraphLifecycleMachineState
Source§fn deserialize<D>(
deserializer: D,
) -> Result<WorkGraphLifecycleMachineState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<WorkGraphLifecycleMachineState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkGraphLifecycleMachineState
Source§impl From<WorkGraphLifecycleMachineStateWire> for WorkGraphLifecycleMachineState
impl From<WorkGraphLifecycleMachineStateWire> for WorkGraphLifecycleMachineState
Source§fn from(
wire: WorkGraphLifecycleMachineStateWire,
) -> WorkGraphLifecycleMachineState
fn from( wire: WorkGraphLifecycleMachineStateWire, ) -> WorkGraphLifecycleMachineState
Converts to this type from the input type.
Source§impl PartialEq for WorkGraphLifecycleMachineState
impl PartialEq for WorkGraphLifecycleMachineState
Source§fn eq(&self, other: &WorkGraphLifecycleMachineState) -> bool
fn eq(&self, other: &WorkGraphLifecycleMachineState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkGraphLifecycleMachineState
impl Serialize for WorkGraphLifecycleMachineState
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 WorkGraphLifecycleMachineState
Auto Trait Implementations§
impl Freeze for WorkGraphLifecycleMachineState
impl RefUnwindSafe for WorkGraphLifecycleMachineState
impl Send for WorkGraphLifecycleMachineState
impl Sync for WorkGraphLifecycleMachineState
impl Unpin for WorkGraphLifecycleMachineState
impl UnsafeUnpin for WorkGraphLifecycleMachineState
impl UnwindSafe for WorkGraphLifecycleMachineState
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> 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.