pub struct EffectEvent {
pub effect_id: EffectId,
pub sequence: u64,
pub transition: Transition,
pub from: EffectStatus,
pub to: EffectStatus,
pub attempt: u32,
pub actor: Option<String>,
pub payload: Option<Value>,
pub at: SystemTime,
}Expand description
One entry of an effect’s audit trail.
Fields§
§effect_id: EffectIdThe effect.
sequence: u64Position in the trail, starting at 1. Equal to the record’s version after the transition.
transition: TransitionWhat happened.
from: EffectStatusThe status before.
to: EffectStatusThe status after.
attempt: u32The record’s attempt count after the transition.
actor: Option<String>Who made the change.
payload: Option<Value>Extra detail, already redacted.
at: SystemTimeWhen it happened.
Trait Implementations§
Source§impl Clone for EffectEvent
impl Clone for EffectEvent
Source§impl Debug for EffectEvent
impl Debug for EffectEvent
Source§impl<'de> Deserialize<'de> for EffectEvent
impl<'de> Deserialize<'de> for EffectEvent
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
Source§impl PartialEq for EffectEvent
impl PartialEq for EffectEvent
Source§impl Serialize for EffectEvent
impl Serialize for EffectEvent
impl StructuralPartialEq for EffectEvent
Auto Trait Implementations§
impl Freeze for EffectEvent
impl RefUnwindSafe for EffectEvent
impl Send for EffectEvent
impl Sync for EffectEvent
impl Unpin for EffectEvent
impl UnsafeUnpin for EffectEvent
impl UnwindSafe for EffectEvent
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