pub struct ResolvedAct {
pub act: ActId,
pub kind: ResolvedActKind,
pub case_ref: CaseRef,
pub arguments: Value,
pub evidence_digest: Digest,
}Expand description
An understood act after exact target resolution, the input of
crate::flow::WorkflowDefinition::compile_act.
Fields§
§act: ActIdThe act.
kind: ResolvedActKindWhat the act does.
case_ref: CaseRefThe exact case at the loaded revision.
arguments: ValueArguments, parsed and schema-validated by the reducer.
evidence_digest: DigestDigest of the words and choices the act rests on.
Implementations§
Source§impl ResolvedAct
impl ResolvedAct
Sourcepub fn operation(&self) -> Option<&OperationKey>
pub fn operation(&self) -> Option<&OperationKey>
The operation named by the act, when any.
Sourcepub fn direct_origin(&self) -> CommandOrigin
pub fn direct_origin(&self) -> CommandOrigin
The origin a low-risk command compiled from this act carries.
Trait Implementations§
Source§impl Clone for ResolvedAct
impl Clone for ResolvedAct
Source§impl Debug for ResolvedAct
impl Debug for ResolvedAct
Source§impl<'de> Deserialize<'de> for ResolvedAct
impl<'de> Deserialize<'de> for ResolvedAct
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 ResolvedAct
Source§impl PartialEq for ResolvedAct
impl PartialEq for ResolvedAct
Source§impl Serialize for ResolvedAct
impl Serialize for ResolvedAct
impl StructuralPartialEq for ResolvedAct
Auto Trait Implementations§
impl Freeze for ResolvedAct
impl RefUnwindSafe for ResolvedAct
impl Send for ResolvedAct
impl Sync for ResolvedAct
impl Unpin for ResolvedAct
impl UnsafeUnpin for ResolvedAct
impl UnwindSafe for ResolvedAct
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.