pub struct WorkAttentionMachineState {
pub lifecycle_phase: WorkAttentionLifecycleState,
pub revision: u64,
pub paused_until_utc_ms: Option<u64>,
pub superseded_by_binding_key: Option<WorkAttentionBindingKey>,
pub terminal_at_utc_ms: Option<u64>,
}Fields§
§lifecycle_phase: WorkAttentionLifecycleState§revision: u64§paused_until_utc_ms: Option<u64>§superseded_by_binding_key: Option<WorkAttentionBindingKey>§terminal_at_utc_ms: Option<u64>Implementations§
Source§impl WorkAttentionLifecycleMachineState
impl WorkAttentionLifecycleMachineState
pub fn phase(&self) -> WorkAttentionLifecycleState
Source§impl WorkAttentionLifecycleMachineState
impl WorkAttentionLifecycleMachineState
pub fn schema() -> MachineSchema
Trait Implementations§
Source§impl Clone for WorkAttentionLifecycleMachineState
impl Clone for WorkAttentionLifecycleMachineState
Source§fn clone(&self) -> WorkAttentionLifecycleMachineState
fn clone(&self) -> WorkAttentionLifecycleMachineState
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 WorkAttentionLifecycleMachineState
impl Default for WorkAttentionLifecycleMachineState
Source§fn default() -> WorkAttentionLifecycleMachineState
fn default() -> WorkAttentionLifecycleMachineState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkAttentionLifecycleMachineState
impl<'de> Deserialize<'de> for WorkAttentionLifecycleMachineState
Source§fn deserialize<D>(
deserializer: D,
) -> Result<WorkAttentionLifecycleMachineState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<WorkAttentionLifecycleMachineState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorkAttentionLifecycleMachineState
Source§impl From<WorkAttentionLifecycleMachineStateWire> for WorkAttentionLifecycleMachineState
impl From<WorkAttentionLifecycleMachineStateWire> for WorkAttentionLifecycleMachineState
Source§fn from(
wire: WorkAttentionLifecycleMachineStateWire,
) -> WorkAttentionLifecycleMachineState
fn from( wire: WorkAttentionLifecycleMachineStateWire, ) -> WorkAttentionLifecycleMachineState
Converts to this type from the input type.
Source§impl PartialEq for WorkAttentionLifecycleMachineState
impl PartialEq for WorkAttentionLifecycleMachineState
Source§fn eq(&self, other: &WorkAttentionLifecycleMachineState) -> bool
fn eq(&self, other: &WorkAttentionLifecycleMachineState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkAttentionLifecycleMachineState
impl Serialize for WorkAttentionLifecycleMachineState
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 WorkAttentionLifecycleMachineState
Auto Trait Implementations§
impl Freeze for WorkAttentionLifecycleMachineState
impl RefUnwindSafe for WorkAttentionLifecycleMachineState
impl Send for WorkAttentionLifecycleMachineState
impl Sync for WorkAttentionLifecycleMachineState
impl Unpin for WorkAttentionLifecycleMachineState
impl UnsafeUnpin for WorkAttentionLifecycleMachineState
impl UnwindSafe for WorkAttentionLifecycleMachineState
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.