pub struct DependentAct {
pub act: UnderstoodAct,
pub made: Vec<MadeCase>,
}Expand description
An act that waits for a confirmation card: once the card’s commands commit, it runs under its own origin and policy (spec §6.7).
Fields§
§act: UnderstoodActThe act as it was understood.
made: Vec<MadeCase>The cases its prerequisites open.
Implementations§
Source§impl DependentAct
impl DependentAct
Sourcepub fn attach_to(self, payload: InteractionPayload) -> InteractionPayload
pub fn attach_to(self, payload: InteractionPayload) -> InteractionPayload
Appends this act to the card’s dependents.
Sourcepub fn of(payload: &InteractionPayload) -> Vec<Self>
pub fn of(payload: &InteractionPayload) -> Vec<Self>
The dependents a card carries, in the order they were understood.
Trait Implementations§
Source§impl Clone for DependentAct
impl Clone for DependentAct
Source§impl Debug for DependentAct
impl Debug for DependentAct
Source§impl<'de> Deserialize<'de> for DependentAct
impl<'de> Deserialize<'de> for DependentAct
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 DependentAct
Source§impl PartialEq for DependentAct
impl PartialEq for DependentAct
Source§impl Serialize for DependentAct
impl Serialize for DependentAct
impl StructuralPartialEq for DependentAct
Auto Trait Implementations§
impl Freeze for DependentAct
impl RefUnwindSafe for DependentAct
impl Send for DependentAct
impl Sync for DependentAct
impl Unpin for DependentAct
impl UnsafeUnpin for DependentAct
impl UnwindSafe for DependentAct
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.