pub struct MutationSummary {
pub operation: OperationKey,
pub case: Option<CaseKey>,
pub command_ref: Option<CommandRef>,
}Expand description
One mutation a side would run.
It is described by operation and case rather than by a domain payload, because that is the level at which two different implementations of the same intent are comparable at all.
Fields§
§operation: OperationKeyWhat it does.
case: Option<CaseKey>What it changes, when the side resolved a case.
command_ref: Option<CommandRef>The command inside the reduction, for the side that has one.
Trait Implementations§
Source§impl Clone for MutationSummary
impl Clone for MutationSummary
Source§impl Debug for MutationSummary
impl Debug for MutationSummary
impl Eq for MutationSummary
Source§impl PartialEq for MutationSummary
impl PartialEq for MutationSummary
impl StructuralPartialEq for MutationSummary
Auto Trait Implementations§
impl Freeze for MutationSummary
impl RefUnwindSafe for MutationSummary
impl Send for MutationSummary
impl Sync for MutationSummary
impl Unpin for MutationSummary
impl UnsafeUnpin for MutationSummary
impl UnwindSafe for MutationSummary
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.