pub struct EffectRecord {
pub effect: Ref,
pub requested_event: Ref,
pub resolved_event: Option<Ref>,
pub result: Option<Ref>,
pub aborted: bool,
}Expand description
Ledger record tracking one effect’s request, resolution, and outcome.
Fields§
§effect: RefReference to the recorded effect.
requested_event: RefReference to the requested event.
resolved_event: Option<Ref>Reference to the resolved (or failed) event, once known.
result: Option<Ref>Reference to the effect result, once known.
aborted: boolWhether the effect was aborted rather than resolved.
Trait Implementations§
Source§impl Clone for EffectRecord
impl Clone for EffectRecord
Source§fn clone(&self) -> EffectRecord
fn clone(&self) -> EffectRecord
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 Debug for EffectRecord
impl Debug for EffectRecord
impl Eq for EffectRecord
Source§impl PartialEq for EffectRecord
impl PartialEq for EffectRecord
Source§fn eq(&self, other: &EffectRecord) -> bool
fn eq(&self, other: &EffectRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EffectRecord
Auto Trait Implementations§
impl Freeze for EffectRecord
impl RefUnwindSafe for EffectRecord
impl Send for EffectRecord
impl Sync for EffectRecord
impl Unpin for EffectRecord
impl UnsafeUnpin for EffectRecord
impl UnwindSafe for EffectRecord
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