pub struct ObservedAct {
pub kind: String,
pub operation: Option<String>,
pub outcome: Option<String>,
}Expand description
One act the message was understood to ask for, as the replay record holds it.
Fields§
§kind: StringSnake-case kind, apply_operation or start_workflow.
operation: Option<String>The operation, when the variant names one.
outcome: Option<String>What the reduction decided about it — rejected, no_change,
awaiting_confirmation, and the rest of
PlannedActResult::name.
None for a turn whose understanding never reached the reduction.
Trait Implementations§
Source§impl Clone for ObservedAct
impl Clone for ObservedAct
Source§impl Debug for ObservedAct
impl Debug for ObservedAct
impl Eq for ObservedAct
Source§impl PartialEq for ObservedAct
impl PartialEq for ObservedAct
impl StructuralPartialEq for ObservedAct
Auto Trait Implementations§
impl Freeze for ObservedAct
impl RefUnwindSafe for ObservedAct
impl Send for ObservedAct
impl Sync for ObservedAct
impl Unpin for ObservedAct
impl UnsafeUnpin for ObservedAct
impl UnwindSafe for ObservedAct
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.